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

Unified Diff: chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc

Issue 221773002: drive: Deprecate FakeDriveService::LoadAccountMetadataForWapi (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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
« no previous file with comments | « chrome/browser/drive/fake_drive_service.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc
diff --git a/chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc b/chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc
index 23509c40c079f87c2fff52ca6252d680149e2bcf..1b0318e0df9c16dd6c3a08ae7d4c5d7decbc12e7 100644
--- a/chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc
+++ b/chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc
@@ -395,7 +395,8 @@ void APIUtilTest::TestListFiles() {
}
void APIUtilTest::TestListChanges() {
- const int64 kStartChangestamp = 6;
+ const int64 old_changestamp =
+ fake_drive_service()->about_resource().largest_change_id();
const std::string sync_root_id = SetUpSyncRootDirectory();
const std::string origin_root_id = SetUpOriginRootDirectory(sync_root_id);
@@ -423,7 +424,7 @@ void APIUtilTest::TestListChanges() {
error = google_apis::GDATA_OTHER_ERROR;
document_feed.reset();
api_util()->ListChanges(
- kStartChangestamp,
+ old_changestamp + 6,
base::Bind(&DidGetResourceList, &error, &document_feed));
base::MessageLoop::current()->RunUntilIdle();
« no previous file with comments | « chrome/browser/drive/fake_drive_service.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698