Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(260)

Unified Diff: chrome/browser/sync/credential_cache_service_win.cc

Issue 11027070: Moved JsonPrefStore to use SequencedWorkerPool (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..5889a2444df4c68602c7ecd6bdbfb2fca1c153b0 100644
--- a/chrome/browser/sync/credential_cache_service_win.cc
+++ b/chrome/browser/sync/credential_cache_service_win.cc
@@ -643,8 +643,7 @@ FilePath CredentialCacheService::GetCredentialPathInAlternateProfile() const {
void CredentialCacheService::InitializeLocalCredentialCacheWriter() {
local_store_ = new JsonPrefStore(
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);

Powered by Google App Engine
This is Rietveld 408576698