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

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

Issue 10693109: Use Drive v2 API: enable behind --enable-drive-api flag (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 5 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_cache_unittest.cc
diff --git a/chrome/browser/chromeos/gdata/gdata_cache_unittest.cc b/chrome/browser/chromeos/gdata/gdata_cache_unittest.cc
index 75cdbd6e42b574dc59b3725c9968f30029ef9f62..fa735e8ac1b165cd3f5d2c94012cb2457ae30e57 100644
--- a/chrome/browser/chromeos/gdata/gdata_cache_unittest.cc
+++ b/chrome/browser/chromeos/gdata/gdata_cache_unittest.cc
@@ -158,7 +158,7 @@ class GDataCacheTest : public testing::Test {
// GDataFileSystem object, which will own the mock object.
mock_doc_service_ = new MockDocumentsService;
- EXPECT_CALL(*mock_doc_service_, Initialize(profile_.get())).Times(1);
+ EXPECT_CALL(*mock_doc_service_, Initialize(profile_.get(), false)).Times(1);
// Likewise, this will be owned by GDataFileSystem.
mock_free_disk_space_checker_ = new MockFreeDiskSpaceGetter;
@@ -183,7 +183,7 @@ class GDataCacheTest : public testing::Test {
mock_sync_client_.reset(new StrictMock<MockGDataSyncClient>);
cache_->AddObserver(mock_sync_client_.get());
- file_system_->Initialize();
+ file_system_->Initialize(false);
cache_->RequestInitializeOnUIThread();
test_util::RunBlockingPoolTask();
}

Powered by Google App Engine
This is Rietveld 408576698