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

Unified Diff: chrome/browser/chromeos/gdata/gdata_documents_service.h

Issue 10821065: Add Drive API specific operations. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 5 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/chromeos/gdata/gdata_documents_service.h
diff --git a/chrome/browser/chromeos/gdata/gdata_documents_service.h b/chrome/browser/chromeos/gdata/gdata_documents_service.h
index 61eecc6c5121d45d28e9ff2219d66e779594c5a4..356ace41f98f66e8bb737affb7966cd1612ea2b8 100644
--- a/chrome/browser/chromeos/gdata/gdata_documents_service.h
+++ b/chrome/browser/chromeos/gdata/gdata_documents_service.h
@@ -103,6 +103,14 @@ class DocumentsServiceInterface {
// calling thread.
virtual void GetAccountMetadata(const GetDataCallback& callback) = 0;
+ // Gets the About resource from the server for the current account.
+ // Upon completion, invokes |callback| with results on the calling thread.
+ // (For Drive V2 API only)
+ virtual void GetAboutResource(const GetDataCallback& callback) = 0;
+
+ // Gets the application list (For Drive V2 API only).
+ virtual void GetApplicationList(const GetDataCallback& callback) = 0;
+
// Deletes a document identified by its 'self' |url| and |etag|.
// Upon completion, invokes |callback| with results on the calling thread.
virtual void DeleteDocument(const GURL& document_url,
@@ -215,6 +223,8 @@ class DocumentsService : public DocumentsServiceInterface {
const GetDataCallback& callback) OVERRIDE;
virtual void GetAccountMetadata(const GetDataCallback& callback) OVERRIDE;
+ virtual void GetAboutResource(const GetDataCallback& callback) OVERRIDE;
+ virtual void GetApplicationList(const GetDataCallback& callback) OVERRIDE;
virtual void DeleteDocument(const GURL& document_url,
const EntryActionCallback& callback) OVERRIDE;
virtual void DownloadDocument(

Powered by Google App Engine
This is Rietveld 408576698