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

Side by Side Diff: chrome/browser/google_apis/gdata_wapi_operations.h

Issue 14240004: Small clean up of GDataWapiUrlGenerator. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use int64 for changelist Created 7 years, 8 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
« no previous file with comments | « no previous file | chrome/browser/google_apis/gdata_wapi_operations.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_GOOGLE_APIS_GDATA_WAPI_OPERATIONS_H_ 5 #ifndef CHROME_BROWSER_GOOGLE_APIS_GDATA_WAPI_OPERATIONS_H_
6 #define CHROME_BROWSER_GOOGLE_APIS_GDATA_WAPI_OPERATIONS_H_ 6 #define CHROME_BROWSER_GOOGLE_APIS_GDATA_WAPI_OPERATIONS_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 // directory_resource_id: 44 // directory_resource_id:
45 // If non-empty, fetches a list of resources in a particular directory. 45 // If non-empty, fetches a list of resources in a particular directory.
46 // 46 //
47 // callback: 47 // callback:
48 // Called once the feed is fetched. Must not be null. 48 // Called once the feed is fetched. Must not be null.
49 GetResourceListOperation( 49 GetResourceListOperation(
50 OperationRegistry* registry, 50 OperationRegistry* registry,
51 net::URLRequestContextGetter* url_request_context_getter, 51 net::URLRequestContextGetter* url_request_context_getter,
52 const GDataWapiUrlGenerator& url_generator, 52 const GDataWapiUrlGenerator& url_generator,
53 const GURL& override_url, 53 const GURL& override_url,
54 int start_changestamp, 54 int64 start_changestamp,
55 const std::string& search_string, 55 const std::string& search_string,
56 const std::string& directory_resource_id, 56 const std::string& directory_resource_id,
57 const GetResourceListCallback& callback); 57 const GetResourceListCallback& callback);
58 virtual ~GetResourceListOperation(); 58 virtual ~GetResourceListOperation();
59 59
60 protected: 60 protected:
61 // UrlFetchOperationBase overrides. 61 // UrlFetchOperationBase overrides.
62 virtual GURL GetURL() const OVERRIDE; 62 virtual GURL GetURL() const OVERRIDE;
63 63
64 private: 64 private:
65 const GDataWapiUrlGenerator url_generator_; 65 const GDataWapiUrlGenerator url_generator_;
66 const GURL override_url_; 66 const GURL override_url_;
67 const int start_changestamp_; 67 const int64 start_changestamp_;
68 const std::string search_string_; 68 const std::string search_string_;
69 const std::string directory_resource_id_; 69 const std::string directory_resource_id_;
70 70
71 DISALLOW_COPY_AND_ASSIGN(GetResourceListOperation); 71 DISALLOW_COPY_AND_ASSIGN(GetResourceListOperation);
72 }; 72 };
73 73
74 //========================= GetResourceEntryOperation ========================== 74 //========================= GetResourceEntryOperation ==========================
75 75
76 // This class performs the operation for fetching a single resource entry. 76 // This class performs the operation for fetching a single resource entry.
77 class GetResourceEntryOperation : public GetDataOperation { 77 class GetResourceEntryOperation : public GetDataOperation {
(...skipping 423 matching lines...) Expand 10 before | Expand all | Expand 10 after
501 private: 501 private:
502 const UploadRangeCallback callback_; 502 const UploadRangeCallback callback_;
503 const int64 content_length_; 503 const int64 content_length_;
504 504
505 DISALLOW_COPY_AND_ASSIGN(GetUploadStatusOperation); 505 DISALLOW_COPY_AND_ASSIGN(GetUploadStatusOperation);
506 }; 506 };
507 507
508 } // namespace google_apis 508 } // namespace google_apis
509 509
510 #endif // CHROME_BROWSER_GOOGLE_APIS_GDATA_WAPI_OPERATIONS_H_ 510 #endif // CHROME_BROWSER_GOOGLE_APIS_GDATA_WAPI_OPERATIONS_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/google_apis/gdata_wapi_operations.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698