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

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

Issue 10836125: Add GetChangelist operation for Drive V2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove SetURL() and specify url in the constructor. Created 8 years, 4 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 356ace41f98f66e8bb737affb7966cd1612ea2b8..7f9c01e255491a785689dc50118fac9ea4770c6f 100644
--- a/chrome/browser/chromeos/gdata/gdata_documents_service.h
+++ b/chrome/browser/chromeos/gdata/gdata_documents_service.h
@@ -92,6 +92,16 @@ class DocumentsServiceInterface {
const std::string& directory_resource_id,
const GetDataCallback& callback) = 0;
+ // Fetches a changelist from |url| with |start_changestamp|, using Drive V2
+ // API. If this URL is empty the call will use the default URL. Specify |url|
+ // when pagenated request should be issued.
+ // |start_changestamp| specifies the starting point of change list or 0 if
+ // all changes are necessary.
+ // Upon completion, invokes |callback| with results on calling thread.
+ virtual void GetChangelist(const GURL& url,
+ int64 start_changestamp,
+ const GetDataCallback& callback) = 0;
+
// Fetches single entry metadata from server. The entry's resource id equals
// |resource_id|.
// Upon completion, invokes |callback| with results on the calling thread.
@@ -219,6 +229,9 @@ class DocumentsService : public DocumentsServiceInterface {
const std::string& search_query,
const std::string& directory_resource_id,
const GetDataCallback& callback) OVERRIDE;
+ virtual void GetChangelist(const GURL& url,
+ int64 start_changestamp,
+ const GetDataCallback& callback) OVERRIDE;
virtual void GetDocumentEntry(const std::string& resource_id,
const GetDataCallback& callback) OVERRIDE;
« no previous file with comments | « chrome/browser/chromeos/gdata/drive_api_operations.cc ('k') | chrome/browser/chromeos/gdata/gdata_documents_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698