Index: chrome/browser/sync/credential_cache_service_win.cc |
diff --git a/chrome/browser/sync/credential_cache_service_win.cc b/chrome/browser/sync/credential_cache_service_win.cc |
index 23ac826ef192f9de27889e13a01a48976e48de0f..e7dde321868b7399aab1b902dc7deaf3d5a3fab6 100644 |
--- a/chrome/browser/sync/credential_cache_service_win.cc |
+++ b/chrome/browser/sync/credential_cache_service_win.cc |
@@ -641,10 +641,9 @@ FilePath CredentialCacheService::GetCredentialPathInAlternateProfile() const { |
} |
void CredentialCacheService::InitializeLocalCredentialCacheWriter() { |
- local_store_ = new JsonPrefStore( |
+ local_store_ = JsonPrefStore::CreateWithBlockingPool( |
GetCredentialPathInCurrentProfile(), |
- content::BrowserThread::GetMessageLoopProxyForThread( |
- content::BrowserThread::FILE)); |
+ BrowserThread::GetBlockingPool()); |
local_store_observer_ = new LocalStoreObserver(this, local_store_); |
local_store_->ReadPrefsAsync(NULL); |
} |
@@ -695,8 +694,7 @@ void CredentialCacheService::LookForCachedCredentialsInAlternateProfile() { |
// after initialization is complete. |
alternate_store_ = new JsonPrefStore( |
GetCredentialPathInAlternateProfile(), |
- content::BrowserThread::GetMessageLoopProxyForThread( |
- content::BrowserThread::FILE)); |
+ BrowserThread::GetBlockingPool()); |
alternate_store_observer_ = new AlternateStoreObserver(this, |
alternate_store_); |
alternate_store_->ReadPrefsAsync(NULL); |