Support override of client id for file scanning (fixes issue #2368).

This commit is contained in:
Ananyo Maiti
2019-05-07 16:22:16 +00:00
committed by Marshall Greenblatt
parent 8b400331c7
commit 3827f817c7
6 changed files with 34 additions and 5 deletions

View File

@@ -76,6 +76,10 @@ int RunMain(HINSTANCE hInstance, int nCmdShow) {
settings.no_sandbox = true;
#endif
// Applications should specify a unique GUID here to enable trusted downloads.
CefString(&settings.application_client_id_for_file_scanning)
.FromString("9A8DE24D-B822-4C6C-8259-5A848FEA1E68");
// Populate the settings based on command line arguments.
context->PopulateSettings(&settings);