Index: chrome/browser/chromeos/gdata/drive_api_operations.h |
diff --git a/chrome/browser/chromeos/gdata/drive_api_operations.h b/chrome/browser/chromeos/gdata/drive_api_operations.h |
index 697f3dea17ccf0e466e135233479db76ae2f1c44..aa455c4bc1f1b6c7037d475eef11be9b7f5e88fe 100644 |
--- a/chrome/browser/chromeos/gdata/drive_api_operations.h |
+++ b/chrome/browser/chromeos/gdata/drive_api_operations.h |
@@ -47,6 +47,33 @@ class GetApplistOperation : public GetDataOperation { |
DISALLOW_COPY_AND_ASSIGN(GetApplistOperation); |
}; |
+//============================ GetChangelistOperation ========================== |
+ |
+// This class performs the operation for fetching changelist. |
+class GetChangelistOperation : public GetDataOperation { |
+ public: |
+ // |start_changestamp| specifies the starting point of change list or 0 if |
+ // all changes are necessary. |
+ // |url| specifies URL for document feed fetching operation. If empty URL is |
+ // passed, the default URL is used and returns the first page of the result. |
+ // When non-first page result is requested, |url| should be specified. |
+ GetChangelistOperation(GDataOperationRegistry* registry, |
+ const GURL& url, |
+ int64 start_changestamp, |
+ const GetDataCallback& callback); |
+ virtual ~GetChangelistOperation(); |
+ |
+ protected: |
+ // Overridden from GetDataOperation. |
+ virtual GURL GetURL() const OVERRIDE; |
+ |
+ private: |
+ GURL url_; |
+ int64 start_changestamp_; |
+ |
+ DISALLOW_COPY_AND_ASSIGN(GetChangelistOperation); |
+}; |
+ |
} // namespace gdata |
#endif // CHROME_BROWSER_CHROMEOS_GDATA_DRIVE_API_OPERATIONS_H_ |