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

Unified Diff: chrome/browser/chromeos/gdata/gdata_file_system_unittest.cc

Issue 10830181: Implement initialization for GDataCache to use in-memory metadata for tests. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 4 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/gdata/gdata_file_system_unittest.cc
diff --git a/chrome/browser/chromeos/gdata/gdata_file_system_unittest.cc b/chrome/browser/chromeos/gdata/gdata_file_system_unittest.cc
index ada502e64974a07f37bf830803121ad41f572ee6..3de2193d1468559a8ef333ca4daf763d74d3e5a0 100644
--- a/chrome/browser/chromeos/gdata/gdata_file_system_unittest.cc
+++ b/chrome/browser/chromeos/gdata/gdata_file_system_unittest.cc
@@ -238,6 +238,7 @@ class GDataFileSystemTest : public testing::Test {
cache_ = GDataCache::CreateGDataCacheOnUIThread(
GDataCache::GetCacheRootPath(profile_.get()), blocking_task_runner_);
+ cache_->ForceMetadataMapForTesting();
mock_uploader_.reset(new StrictMock<MockGDataUploader>);
mock_webapps_registry_.reset(new StrictMock<MockDriveWebAppsRegistry>);

Powered by Google App Engine
This is Rietveld 408576698