fix some more compilation errors

This commit is contained in:
Shelley Vohr 2017-11-23 11:25:12 +01:00 committed by Cheng Zhao
parent 6a61ec7763
commit 233679865b
2 changed files with 3 additions and 7 deletions

View file

@ -100,8 +100,7 @@ URLRequestContextGetter::Delegate::CreateHttpCacheBackendFactory(
net::DISK_CACHE,
net::CACHE_BACKEND_DEFAULT,
cache_path,
max_size,
BrowserThread::GetTaskRunnerForThread(BrowserThread::CACHE));
max_size);
}
std::unique_ptr<net::CertVerifier>
@ -184,8 +183,7 @@ net::URLRequestContext* URLRequestContextGetter::GetURLRequestContext() {
auto cookie_config = content::CookieStoreConfig(
cookie_path,
content::CookieStoreConfig::EPHEMERAL_SESSION_COOKIES,
nullptr,
delegate_->CreateCookieDelegate());
nullptr);
cookie_config.cookieable_schemes = delegate_->GetCookieableSchemes();
std::unique_ptr<net::CookieStore> cookie_store =
content::CreateCookieStore(cookie_config);