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

Unified Diff: chrome/browser/chromeos/drive/drive_test_util.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_test_util.cc
diff --git a/chrome/browser/chromeos/drive/drive_test_util.cc b/chrome/browser/chromeos/drive/drive_test_util.cc
index 254427568456ab2cb69e93f650bcb2fa677b4d59..8041045b3915ba70240608252e90efc9c6337cd1 100644
--- a/chrome/browser/chromeos/drive/drive_test_util.cc
+++ b/chrome/browser/chromeos/drive/drive_test_util.cc
@@ -229,12 +229,5 @@ bool LoadChangeFeed(const std::string& relative_path,
return true;
}
-void DeleteDriveCache(DriveCache* drive_cache) {
- DCHECK(drive_cache);
- drive_cache->Destroy();
- // The cache destruction requires to post a task to the blocking pool.
- google_apis::test_util::RunBlockingPoolTask();
-}
-
} // namespace test_util
} // namespace drive

Powered by Google App Engine
This is Rietveld 408576698