| OLD | NEW |
| 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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 //========================= GetAccountMetadataOperation ======================== | 106 //========================= GetAccountMetadataOperation ======================== |
| 107 | 107 |
| 108 // This class performs the operation for fetching account metadata. | 108 // This class performs the operation for fetching account metadata. |
| 109 class GetAccountMetadataOperation : public GetDataOperation { | 109 class GetAccountMetadataOperation : public GetDataOperation { |
| 110 public: | 110 public: |
| 111 // |callback| must not be null. | 111 // |callback| must not be null. |
| 112 GetAccountMetadataOperation( | 112 GetAccountMetadataOperation( |
| 113 OperationRegistry* registry, | 113 OperationRegistry* registry, |
| 114 net::URLRequestContextGetter* url_request_context_getter, | 114 net::URLRequestContextGetter* url_request_context_getter, |
| 115 const GDataWapiUrlGenerator& url_generator, | 115 const GDataWapiUrlGenerator& url_generator, |
| 116 const GetDataCallback& callback); | 116 const GetAccountMetadataCallback& callback); |
| 117 virtual ~GetAccountMetadataOperation(); | 117 virtual ~GetAccountMetadataOperation(); |
| 118 | 118 |
| 119 protected: | 119 protected: |
| 120 // UrlFetchOperationBase overrides. | 120 // UrlFetchOperationBase overrides. |
| 121 virtual GURL GetURL() const OVERRIDE; | 121 virtual GURL GetURL() const OVERRIDE; |
| 122 | 122 |
| 123 private: | 123 private: |
| 124 const GDataWapiUrlGenerator url_generator_; | 124 const GDataWapiUrlGenerator url_generator_; |
| 125 DISALLOW_COPY_AND_ASSIGN(GetAccountMetadataOperation); | 125 DISALLOW_COPY_AND_ASSIGN(GetAccountMetadataOperation); |
| 126 }; | 126 }; |
| (...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 522 private: | 522 private: |
| 523 const UploadRangeCallback callback_; | 523 const UploadRangeCallback callback_; |
| 524 const int64 content_length_; | 524 const int64 content_length_; |
| 525 | 525 |
| 526 DISALLOW_COPY_AND_ASSIGN(GetUploadStatusOperation); | 526 DISALLOW_COPY_AND_ASSIGN(GetUploadStatusOperation); |
| 527 }; | 527 }; |
| 528 | 528 |
| 529 } // namespace google_apis | 529 } // namespace google_apis |
| 530 | 530 |
| 531 #endif // CHROME_BROWSER_GOOGLE_APIS_GDATA_WAPI_OPERATIONS_H_ | 531 #endif // CHROME_BROWSER_GOOGLE_APIS_GDATA_WAPI_OPERATIONS_H_ |
| OLD | NEW |