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(); |