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

Side by Side Diff: chrome/browser/chromeos/gdata/gdata_operations.h

Issue 10836125: Add GetChangelist operation for Drive V2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_CHROMEOS_GDATA_GDATA_OPERATIONS_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_GDATA_GDATA_OPERATIONS_H_
6 #define CHROME_BROWSER_CHROMEOS_GDATA_GDATA_OPERATIONS_H_ 6 #define CHROME_BROWSER_CHROMEOS_GDATA_GDATA_OPERATIONS_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "chrome/browser/chromeos/gdata/operations_base.h" 11 #include "chrome/browser/chromeos/gdata/operations_base.h"
12 12
13 namespace gdata { 13 namespace gdata {
14 14
15 //============================ GetDocumentsOperation =========================== 15 //============================ GetDocumentsOperation ===========================
16 16
17 // This class performs the operation for fetching a document list. 17 // This class performs the operation for fetching a document list.
18 class GetDocumentsOperation : public GetDataOperation { 18 class GetDocumentsOperation : public GetDataOperation {
19 public: 19 public:
20 GetDocumentsOperation(GDataOperationRegistry* registry, 20 GetDocumentsOperation(GDataOperationRegistry* registry,
21 int start_changestamp, 21 int start_changestamp,
22 const std::string& search_string, 22 const std::string& search_string,
23 const std::string& directory_resource_id, 23 const std::string& directory_resource_id,
24 const GetDataCallback& callback); 24 const GetDataCallback& callback);
25 virtual ~GetDocumentsOperation(); 25 virtual ~GetDocumentsOperation();
26 26
27 // Sets |url| for document fetching operation. This URL should be set in use 27 // Sets |url| for document fetching operation. This URL should be set in use
28 // case when additional 'pages' of document lists are being fetched. 28 // case when additional 'pages' of document lists are being fetched.
29 void SetUrl(const GURL& url); 29 void SetURL(const GURL& url);
30 30
31 protected: 31 protected:
32 // Overridden from GetDataOperation. 32 // Overridden from GetDataOperation.
33 virtual GURL GetURL() const OVERRIDE; 33 virtual GURL GetURL() const OVERRIDE;
34 34
35 private: 35 private:
36 GURL override_url_; 36 GURL override_url_;
37 int start_changestamp_; 37 int start_changestamp_;
38 std::string search_string_; 38 std::string search_string_;
39 std::string directory_resource_id_; 39 std::string directory_resource_id_;
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after
422 422
423 // Callback to which the photo data is passed. 423 // Callback to which the photo data is passed.
424 GetDownloadDataCallback callback_; 424 GetDownloadDataCallback callback_;
425 425
426 DISALLOW_COPY_AND_ASSIGN(GetContactPhotoOperation); 426 DISALLOW_COPY_AND_ASSIGN(GetContactPhotoOperation);
427 }; 427 };
428 428
429 } // namespace gdata 429 } // namespace gdata
430 430
431 #endif // CHROME_BROWSER_CHROMEOS_GDATA_GDATA_OPERATIONS_H_ 431 #endif // CHROME_BROWSER_CHROMEOS_GDATA_GDATA_OPERATIONS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698