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..30437373fb7dfc0942ad9aec8f3016a2f61019fd 100644 |
--- a/chrome/browser/chromeos/gdata/drive_api_operations.h |
+++ b/chrome/browser/chromeos/gdata/drive_api_operations.h |
@@ -47,6 +47,31 @@ class GetApplistOperation : public GetDataOperation { |
DISALLOW_COPY_AND_ASSIGN(GetApplistOperation); |
}; |
+//============================ GetChangelistOperation ========================== |
+ |
+// This class performs the operation for fetching changelist. |
+class GetChangelistOperation : public GetDataOperation { |
+ public: |
+ GetChangelistOperation(GDataOperationRegistry* registry, |
hashimoto
2012/08/07 07:36:57
Please add a comment about the role of |start_chan
kochi
2012/08/07 07:46:04
Done.
|
+ int64 start_changestamp, |
+ const GetDataCallback& callback); |
+ virtual ~GetChangelistOperation(); |
+ |
+ // Sets |url| for changelist fetching operation. This should be used when it |
+ // is necessary to explicitly specify the next page URL. |
+ void SetURL(const GURL& url); |
hashimoto
2012/08/07 07:36:57
Do we need this method?
Can't |url| be passed to t
kochi
2012/08/07 07:46:04
Changed the comment to be more specific.
The know
hashimoto
2012/08/07 07:57:43
What I meant was deleting SetURL and allowing pass
kochi
2012/08/07 09:06:52
Agreed, removed SetURL() from this file and
gdata_
|
+ |
+ protected: |
+ // Overridden from GetDataOperation. |
+ virtual GURL GetURL() const OVERRIDE; |
+ |
+ private: |
+ GURL override_url_; |
+ int64 start_changestamp_; |
+ |
+ DISALLOW_COPY_AND_ASSIGN(GetChangelistOperation); |
+}; |
+ |
} // namespace gdata |
#endif // CHROME_BROWSER_CHROMEOS_GDATA_DRIVE_API_OPERATIONS_H_ |