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

Unified Diff: chrome/browser/drive/fake_drive_service.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
Index: chrome/browser/drive/fake_drive_service.cc
diff --git a/chrome/browser/drive/fake_drive_service.cc b/chrome/browser/drive/fake_drive_service.cc
index 4605911e3ade394b5330c87ba65106ad807c18af..8ac7e345469eb569593660d91641b34775657d11 100644
--- a/chrome/browser/drive/fake_drive_service.cc
+++ b/chrome/browser/drive/fake_drive_service.cc
@@ -178,6 +178,11 @@ FakeDriveService::FakeDriveService()
offline_(false),
never_return_all_resource_list_(false) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
+
+ about_resource_->set_largest_change_id(654321);
+ about_resource_->set_quota_bytes_total(9876543210);
+ about_resource_->set_quota_bytes_used(6789012345);
+ about_resource_->set_root_folder_id(GetRootResourceId());
}
FakeDriveService::~FakeDriveService() {
« no previous file with comments | « chrome/browser/drive/fake_drive_service.h ('k') | chrome/browser/sync_file_system/drive_backend_v1/api_util_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698