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

@@ -405,12 +405,7 @@ void CefDownloadManagerDelegate::GetNextId(
}
std::string CefDownloadManagerDelegate::ApplicationClientIdForFileScanning() {
const CefSettings& settings = CefContext::Get()->settings();
if (settings.application_client_id_for_file_scanning.length > 0) {
return CefString(&settings.application_client_id_for_file_scanning)
.ToString();
}
return std::string();
return std::string(chrome::kApplicationClientIDStringForAVScanning);
}
void CefDownloadManagerDelegate::OnBrowserDestroyed(