Index: chrome/browser/profiles/profile_impl_io_data.cc |
diff --git a/chrome/browser/profiles/profile_impl_io_data.cc b/chrome/browser/profiles/profile_impl_io_data.cc |
index fd8149cf6fab6b6c296d078f5211c8d14f0f600b..01dc2e43d83611396b0fc04a77cc9b1433712ad9 100644 |
--- a/chrome/browser/profiles/profile_impl_io_data.cc |
+++ b/chrome/browser/profiles/profile_impl_io_data.cc |
@@ -387,7 +387,10 @@ void ProfileImplIOData::InitializeInternal( |
lazy_params_->cookie_path, |
lazy_params_->restore_old_session_cookies, |
lazy_params_->special_storage_policy.get(), |
- profile_params->cookie_monster_delegate.get()); |
+ profile_params->cookie_monster_delegate.get(), |
+ BrowserThread::GetMessageLoopProxyForThread(BrowserThread::IO), |
+ BrowserThread::GetBlockingPool()->GetSequencedTaskRunner( |
+ BrowserThread::GetBlockingPool()->GetSequenceToken())); |
joth
2013/09/14 19:40:24
could pass NULL for the second param and document
sgurun-gerrit only
2013/09/14 20:45:01
Done.
|
cookie_store->GetCookieMonster()->SetPersistSessionCookies(true); |
} |
@@ -482,7 +485,10 @@ void ProfileImplIOData:: |
lazy_params_->extensions_cookie_path, |
lazy_params_->restore_old_session_cookies, |
NULL, |
- NULL); |
+ NULL, |
+ BrowserThread::GetMessageLoopProxyForThread(BrowserThread::IO), |
+ BrowserThread::GetBlockingPool()->GetSequencedTaskRunner( |
+ BrowserThread::GetBlockingPool()->GetSequenceToken())); |
joth
2013/09/14 19:40:24
yeah... seems nicer as this is duplicated several
sgurun-gerrit only
2013/09/14 20:45:01
Done.
|
// Enable cookies for devtools and extension URLs. |
const char* schemes[] = {chrome::kChromeDevToolsScheme, |
extensions::kExtensionScheme}; |
@@ -568,7 +574,10 @@ ProfileImplIOData::InitializeAppRequestContext( |
cookie_path, |
false, |
NULL, |
- NULL); |
+ NULL, |
+ BrowserThread::GetMessageLoopProxyForThread(BrowserThread::IO), |
+ BrowserThread::GetBlockingPool()->GetSequencedTaskRunner( |
+ BrowserThread::GetBlockingPool()->GetSequenceToken())); |
} |
// Transfer ownership of the cookies and cache to AppRequestContext. |