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

Unified Diff: chrome/browser/google_apis/gdata_wapi_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/gdata_wapi_service.h ('k') | chrome/browser/google_apis/mock_drive_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/google_apis/gdata_wapi_service.cc
diff --git a/chrome/browser/google_apis/gdata_wapi_service.cc b/chrome/browser/google_apis/gdata_wapi_service.cc
index ee604b6987484d58c2ddf8b839579e7f7f760f0d..6312d301b28265442745a93d5f6d6ebcad79af94 100644
--- a/chrome/browser/google_apis/gdata_wapi_service.cc
+++ b/chrome/browser/google_apis/gdata_wapi_service.cc
@@ -238,6 +238,68 @@ void GDataWapiService::GetResourceList(
base::Bind(&ParseResourceListAndRun, callback)));
}
+void GDataWapiService::GetAllResourceList(
+ const GetResourceListCallback& callback) {
+ DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
+ DCHECK(!callback.is_null());
+
+ // TODO(hidehiko): Implement this.
+ NOTIMPLEMENTED();
+}
+
+void GDataWapiService::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 GDataWapiService::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 GDataWapiService::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 GDataWapiService::GetChangeList(int64 start_changestamp,
+ const GetResourceListCallback& callback) {
+ DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
+ DCHECK(!callback.is_null());
+
+ // TODO(hidehiko): Implement this.
+ NOTIMPLEMENTED();
+}
+
+void GDataWapiService::ContinueGetResourceList(
+ const GURL& override_url,
+ const GetResourceListCallback& callback) {
+ DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
+ DCHECK(!callback.is_null());
+
+ // TODO(hidehiko): Implement this.
+ NOTIMPLEMENTED();
+}
+
void GDataWapiService::GetResourceEntry(
const std::string& resource_id,
const GetResourceEntryCallback& callback) {
« no previous file with comments | « chrome/browser/google_apis/gdata_wapi_service.h ('k') | chrome/browser/google_apis/mock_drive_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698