Chromium Code Reviews| 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 0535f1072eb7bae85e96b15f83caa5f16adab4a6..3b6e98f94dc7bcda7b36aff4999ff0b6800dfa1a 100644 |
| --- a/chrome/browser/profiles/profile_impl_io_data.cc |
| +++ b/chrome/browser/profiles/profile_impl_io_data.cc |
| @@ -10,7 +10,9 @@ |
| #include "base/logging.h" |
| #include "base/prefs/pref_service.h" |
| #include "base/prefs/public/pref_member.h" |
| +#include "base/sequenced_task_runner.h" |
| #include "base/stl_util.h" |
| +#include "base/threading/sequenced_worker_pool.h" |
| #include "base/threading/worker_pool.h" |
| #include "chrome/browser/custom_handlers/protocol_handler_registry.h" |
| #include "chrome/browser/custom_handlers/protocol_handler_registry_factory.h" |
| @@ -599,7 +601,8 @@ ProfileImplIOData::InitializeAppRequestContext( |
| new SQLitePersistentCookieStore( |
| cookie_path, |
| BrowserThread::GetMessageLoopProxyForThread(BrowserThread::IO), |
| - BrowserThread::GetMessageLoopProxyForThread(BrowserThread::DB), |
| + BrowserThread::GetBlockingPool()->GetSequencedTaskRunner( |
| + BrowserThread::GetBlockingPool()->GetSequenceToken()), |
|
mmenke
2013/02/26 21:01:18
Not the main request context?
erikwright (departed)
2013/02/26 23:23:05
Oops :(
|
| false, |
| NULL); |
| // TODO(creis): We should have a cookie delegate for notifying the cookie |