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

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

Issue 12706012: chromeos: Destruct DriveResourceMetadata on the blocking pool (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add note Created 7 years, 9 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 d5e1be7f61b079593826526f953f52720d38e7cf..e1aa466285ced1360fa8a51fea729fda876f25c3 100644
--- a/chrome/browser/chromeos/drive/drive_system_service.cc
+++ b/chrome/browser/chromeos/drive/drive_system_service.cc
@@ -97,13 +97,6 @@ std::string GetDriveUserAgent() {
} // namespace
-void DriveSystemService::DriveCacheDeleter::operator()(
- DriveCache* cache) const {
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
- if (cache)
- cache->Destroy();
-}
-
DriveSystemService::DriveSystemService(
Profile* profile,
google_apis::DriveServiceInterface* test_drive_service,
« no previous file with comments | « chrome/browser/chromeos/drive/drive_system_service.h ('k') | chrome/browser/chromeos/drive/drive_test_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698