mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Update to Chromium version 72.0.3599.0 (#604791)
This commit is contained in:
@@ -608,12 +608,10 @@ void CefContentBrowserClient::SiteInstanceDeleting(
|
||||
void CefContentBrowserClient::RegisterInProcessServices(
|
||||
StaticServiceMap* services,
|
||||
content::ServiceManagerConnection* connection) {
|
||||
{
|
||||
// For spell checking.
|
||||
service_manager::EmbeddedServiceInfo info;
|
||||
info.factory = ChromeService::GetInstance()->CreateChromeServiceFactory();
|
||||
services->insert(std::make_pair(chrome::mojom::kServiceName, info));
|
||||
}
|
||||
// For spell checking.
|
||||
connection->AddServiceRequestHandler(
|
||||
chrome::mojom::kServiceName,
|
||||
ChromeService::GetInstance()->CreateChromeServiceRequestHandler());
|
||||
}
|
||||
|
||||
void CefContentBrowserClient::RegisterOutOfProcessServices(
|
||||
@@ -816,6 +814,17 @@ CefContentBrowserClient::CreateSpeechRecognitionManagerDelegate() {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
content::GeneratedCodeCacheSettings
|
||||
CefContentBrowserClient::GetGeneratedCodeCacheSettings(
|
||||
content::BrowserContext* context) {
|
||||
// If we pass 0 for size, disk_cache will pick a default size using the
|
||||
// heuristics based on available disk size. These are implemented in
|
||||
// disk_cache::PreferredCacheSize in net/disk_cache/cache_util.cc.
|
||||
const base::FilePath& cache_path = context->GetPath();
|
||||
return content::GeneratedCodeCacheSettings(!cache_path.empty() /* enabled */,
|
||||
0 /* size */, cache_path);
|
||||
}
|
||||
|
||||
void CefContentBrowserClient::AllowCertificateError(
|
||||
content::WebContents* web_contents,
|
||||
int cert_error,
|
||||
|
Reference in New Issue
Block a user