| 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 ac66d6a988d100439d108dc1a042b5cb83aeb531..0535f1072eb7bae85e96b15f83caa5f16adab4a6 100644
 | 
| --- a/chrome/browser/profiles/profile_impl_io_data.cc
 | 
| +++ b/chrome/browser/profiles/profile_impl_io_data.cc
 | 
| @@ -388,6 +388,8 @@ void ProfileImplIOData::InitializeInternal(
 | 
|      scoped_refptr<SQLitePersistentCookieStore> cookie_db =
 | 
|          new SQLitePersistentCookieStore(
 | 
|              lazy_params_->cookie_path,
 | 
| +            BrowserThread::GetMessageLoopProxyForThread(BrowserThread::IO),
 | 
| +            BrowserThread::GetMessageLoopProxyForThread(BrowserThread::DB),
 | 
|              lazy_params_->restore_old_session_cookies,
 | 
|              new ClearOnExitPolicy(lazy_params_->special_storage_policy));
 | 
|      cookie_store =
 | 
| @@ -496,6 +498,8 @@ void ProfileImplIOData::
 | 
|        new net::CookieMonster(
 | 
|            new SQLitePersistentCookieStore(
 | 
|                lazy_params_->extensions_cookie_path,
 | 
| +              BrowserThread::GetMessageLoopProxyForThread(BrowserThread::IO),
 | 
| +              BrowserThread::GetMessageLoopProxyForThread(BrowserThread::DB),
 | 
|                lazy_params_->restore_old_session_cookies, NULL), NULL);
 | 
|    // Enable cookies for devtools and extension URLs.
 | 
|    const char* schemes[] = {chrome::kChromeDevToolsScheme,
 | 
| @@ -592,7 +596,12 @@ ProfileImplIOData::InitializeAppRequestContext(
 | 
|      DCHECK(!cookie_path.empty());
 | 
|  
 | 
|      scoped_refptr<SQLitePersistentCookieStore> cookie_db =
 | 
| -        new SQLitePersistentCookieStore(cookie_path, false, NULL);
 | 
| +        new SQLitePersistentCookieStore(
 | 
| +            cookie_path,
 | 
| +            BrowserThread::GetMessageLoopProxyForThread(BrowserThread::IO),
 | 
| +            BrowserThread::GetMessageLoopProxyForThread(BrowserThread::DB),
 | 
| +            false,
 | 
| +            NULL);
 | 
|      // TODO(creis): We should have a cookie delegate for notifying the cookie
 | 
|      // extensions API, but we need to update it to understand isolated apps
 | 
|      // first.
 | 
| 
 |