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

Unified Diff: chrome/browser/google_apis/mock_drive_service.h

Issue 13602003: Add new methods to DriveServiceInterface. These will replace GetResourceList. (Closed) Base URL: http://git.chromium.org/chromium/src.git@webkit_master
Patch Set: Created 7 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/google_apis/gdata_wapi_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/google_apis/mock_drive_service.h
diff --git a/chrome/browser/google_apis/mock_drive_service.h b/chrome/browser/google_apis/mock_drive_service.h
index 36803151bd73f86df98ac17aa3ff0bb8e187021a..5e4ad3f566f1216ec654918225ab8de5bec68b08 100644
--- a/chrome/browser/google_apis/mock_drive_service.h
+++ b/chrome/browser/google_apis/mock_drive_service.h
@@ -44,6 +44,24 @@ class MockDriveService : public DriveServiceInterface {
bool shared_with_me,
const std::string& directory_resource_id,
const GetResourceListCallback& callback));
+ MOCK_METHOD1(GetAllResourceList,
+ void(const GetResourceListCallback& callback));
+ MOCK_METHOD2(GetResourceListInDirectory,
+ void(const std::string& directory_resource_id,
+ const GetResourceListCallback& callback));
+ MOCK_METHOD2(Search,
+ void(const std::string& search_query,
+ const GetResourceListCallback& callback));
+ MOCK_METHOD3(SearchInDirectory,
+ void(const std::string& search_query,
+ const std::string& directory_resource_id,
+ const GetResourceListCallback& callback));
+ MOCK_METHOD2(GetChangeList,
+ void(int64 start_changestamp,
+ const GetResourceListCallback& callback));
+ MOCK_METHOD2(ContinueGetResourceList,
+ void(const GURL& override_url,
+ const GetResourceListCallback& callback));
MOCK_METHOD2(GetResourceEntry,
void(const std::string& resource_id,
const GetResourceEntryCallback& callback));
« no previous file with comments | « chrome/browser/google_apis/gdata_wapi_service.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698