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

Unified Diff: chrome/browser/google_apis/fake_drive_service.cc

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/fake_drive_service.h ('k') | chrome/browser/google_apis/gdata_wapi_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/google_apis/fake_drive_service.cc
diff --git a/chrome/browser/google_apis/fake_drive_service.cc b/chrome/browser/google_apis/fake_drive_service.cc
index f0163ab0488cf5757b6484f7432136461f48f0e8..38f59333eede999c3246646cdc61dcc48956cb5a 100644
--- a/chrome/browser/google_apis/fake_drive_service.cc
+++ b/chrome/browser/google_apis/fake_drive_service.cc
@@ -335,6 +335,68 @@ void FakeDriveService::GetResourceList(
base::Passed(&resource_list)));
}
+void FakeDriveService::GetAllResourceList(
+ const GetResourceListCallback& callback) {
+ DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
+ DCHECK(!callback.is_null());
+
+ // TODO(hidehiko): Implement this.
+ NOTIMPLEMENTED();
+}
+
+void FakeDriveService::GetResourceListInDirectory(
+ const std::string& directory_resource_id,
+ const GetResourceListCallback& callback) {
+ DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
+ DCHECK(!directory_resource_id.empty());
+ DCHECK(!callback.is_null());
+
+ // TODO(hidehiko): Implement this.
+ NOTIMPLEMENTED();
+}
+
+void FakeDriveService::Search(const std::string& search_query,
+ const GetResourceListCallback& callback) {
+ DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
+ DCHECK(!search_query.empty());
+ DCHECK(!callback.is_null());
+
+ // TODO(hidehiko): Implement this.
+ NOTIMPLEMENTED();
+}
+
+void FakeDriveService::SearchInDirectory(
+ const std::string& search_query,
+ const std::string& directory_resource_id,
+ const GetResourceListCallback& callback) {
+ DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
+ DCHECK(!search_query.empty());
+ DCHECK(!directory_resource_id.empty());
+ DCHECK(!callback.is_null());
+
+ // TODO(hidehiko): Implement this.
+ NOTIMPLEMENTED();
+}
+
+void FakeDriveService::GetChangeList(int64 start_changestamp,
+ const GetResourceListCallback& callback) {
+ DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
+ DCHECK(!callback.is_null());
+
+ // TODO(hidehiko): Implement this.
+ NOTIMPLEMENTED();
+}
+
+void FakeDriveService::ContinueGetResourceList(
+ const GURL& override_url,
+ const GetResourceListCallback& callback) {
+ DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
+ DCHECK(!callback.is_null());
+
+ // TODO(hidehiko): Implement this.
+ NOTIMPLEMENTED();
+}
+
void FakeDriveService::GetResourceEntry(
const std::string& resource_id,
const GetResourceEntryCallback& callback) {
« no previous file with comments | « chrome/browser/google_apis/fake_drive_service.h ('k') | chrome/browser/google_apis/gdata_wapi_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698