alloy: Use chrome's value for ApplicationClientIdForFileScanning (fixes issue #3030)

This change removes CefSettings.application_client_id_for_file_scanning in
favor of always using the same hard-coded value as chrome.
This commit is contained in:
Marshall Greenblatt
2022-03-24 12:16:08 -04:00
parent e43d2054d1
commit 77466e7b6d
5 changed files with 5 additions and 27 deletions

View File

@@ -426,14 +426,6 @@ typedef struct _cef_settings_t {
///
cef_string_t cookieable_schemes_list;
int cookieable_schemes_exclude_defaults;
///
// GUID string used for identifying the application. This is passed to the
// system AV function for scanning downloaded files. By default, the GUID
// will be an empty string and the file will be treated as an untrusted
// file when the GUID is empty.
///
cef_string_t application_client_id_for_file_scanning;
} cef_settings_t;
///

View File

@@ -546,7 +546,6 @@ struct CefSettingsTraits {
cef_string_clear(&s->locales_dir_path);
cef_string_clear(&s->accept_language_list);
cef_string_clear(&s->cookieable_schemes_list);
cef_string_clear(&s->application_client_id_for_file_scanning);
}
static inline void set(const struct_type* src,
@@ -605,10 +604,6 @@ struct CefSettingsTraits {
&target->cookieable_schemes_list, copy);
target->cookieable_schemes_exclude_defaults =
src->cookieable_schemes_exclude_defaults;
cef_string_set(src->application_client_id_for_file_scanning.str,
src->application_client_id_for_file_scanning.length,
&target->application_client_id_for_file_scanning, copy);
}
};