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

Unified Diff: chrome/browser/chromeos/drive/drive_system_service.cc

Issue 15060002: drive: Rename FileCache methods in a blocking pool centric manner (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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/chromeos/drive/drive_system_service.cc
diff --git a/chrome/browser/chromeos/drive/drive_system_service.cc b/chrome/browser/chromeos/drive/drive_system_service.cc
index 2fe691a83770c1a3a83c9b99d79a41ec3f831ea7..396ea19425e82af719f884814b38f99fe9fac037 100644
--- a/chrome/browser/chromeos/drive/drive_system_service.cc
+++ b/chrome/browser/chromeos/drive/drive_system_service.cc
@@ -218,7 +218,7 @@ void DriveSystemService::ClearCacheAndRemountFileSystem(
DCHECK(!callback.is_null());
RemoveDriveMountPoint();
- cache_->ClearAll(base::Bind(
+ cache_->ClearAllOnUIThread(base::Bind(
&DriveSystemService::ReinitializeResourceMetadataAfterClearCache,
weak_ptr_factory_.GetWeakPtr(),
callback));

Powered by Google App Engine
This is Rietveld 408576698