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

Unified Diff: chrome/browser/google_apis/drive_api_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
Index: chrome/browser/google_apis/drive_api_service.cc
diff --git a/chrome/browser/google_apis/drive_api_service.cc b/chrome/browser/google_apis/drive_api_service.cc
index d352ea061f24bb19bbbd9727b39eeecc1f0de869..1c4859f64b50b5fb64731efb8407aa1aba0abd4a 100644
--- a/chrome/browser/google_apis/drive_api_service.cc
+++ b/chrome/browser/google_apis/drive_api_service.cc
@@ -284,6 +284,68 @@ void DriveAPIService::GetResourceList(
NOTREACHED();
}
+void DriveAPIService::GetAllResourceList(
+ const GetResourceListCallback& callback) {
+ DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
+ DCHECK(!callback.is_null());
+
+ // TODO(hidehiko): Implement this.
+ NOTIMPLEMENTED();
+}
+
+void DriveAPIService::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 DriveAPIService::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 DriveAPIService::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 DriveAPIService::GetChangeList(int64 start_changestamp,
+ const GetResourceListCallback& callback) {
+ DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
+ DCHECK(!callback.is_null());
+
+ // TODO(hidehiko): Implement this.
+ NOTIMPLEMENTED();
+}
+
+void DriveAPIService::ContinueGetResourceList(
+ const GURL& override_url,
+ const GetResourceListCallback& callback) {
+ DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
+ DCHECK(!callback.is_null());
+
+ // TODO(hidehiko): Implement this.
+ NOTIMPLEMENTED();
+}
+
void DriveAPIService::GetFilelist(
const GURL& url,
const std::string& search_query,
« no previous file with comments | « chrome/browser/google_apis/drive_api_service.h ('k') | chrome/browser/google_apis/drive_service_interface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698