| 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_DRIVE_GDATA_WAPI_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_DRIVE_GDATA_WAPI_SERVICE_H_ |
| 6 #define CHROME_BROWSER_DRIVE_GDATA_WAPI_SERVICE_H_ | 6 #define CHROME_BROWSER_DRIVE_GDATA_WAPI_SERVICE_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 136 const std::string& parent_resource_id, | 136 const std::string& parent_resource_id, |
| 137 const std::string& resource_id, | 137 const std::string& resource_id, |
| 138 const google_apis::EntryActionCallback& callback) OVERRIDE; | 138 const google_apis::EntryActionCallback& callback) OVERRIDE; |
| 139 virtual google_apis::CancelCallback RemoveResourceFromDirectory( | 139 virtual google_apis::CancelCallback RemoveResourceFromDirectory( |
| 140 const std::string& parent_resource_id, | 140 const std::string& parent_resource_id, |
| 141 const std::string& resource_id, | 141 const std::string& resource_id, |
| 142 const google_apis::EntryActionCallback& callback) OVERRIDE; | 142 const google_apis::EntryActionCallback& callback) OVERRIDE; |
| 143 virtual google_apis::CancelCallback AddNewDirectory( | 143 virtual google_apis::CancelCallback AddNewDirectory( |
| 144 const std::string& parent_resource_id, | 144 const std::string& parent_resource_id, |
| 145 const std::string& directory_title, | 145 const std::string& directory_title, |
| 146 const AddNewDirectoryOptions& options, |
| 146 const google_apis::GetResourceEntryCallback& callback) OVERRIDE; | 147 const google_apis::GetResourceEntryCallback& callback) OVERRIDE; |
| 147 virtual google_apis::CancelCallback InitiateUploadNewFile( | 148 virtual google_apis::CancelCallback InitiateUploadNewFile( |
| 148 const std::string& content_type, | 149 const std::string& content_type, |
| 149 int64 content_length, | 150 int64 content_length, |
| 150 const std::string& parent_resource_id, | 151 const std::string& parent_resource_id, |
| 151 const std::string& title, | 152 const std::string& title, |
| 152 const InitiateUploadNewFileOptions& options, | 153 const InitiateUploadNewFileOptions& options, |
| 153 const google_apis::InitiateUploadCallback& callback) OVERRIDE; | 154 const google_apis::InitiateUploadCallback& callback) OVERRIDE; |
| 154 virtual google_apis::CancelCallback InitiateUploadExistingFile( | 155 virtual google_apis::CancelCallback InitiateUploadExistingFile( |
| 155 const std::string& content_type, | 156 const std::string& content_type, |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 197 // reference, as they may outlive this object. | 198 // reference, as they may outlive this object. |
| 198 const google_apis::GDataWapiUrlGenerator url_generator_; | 199 const google_apis::GDataWapiUrlGenerator url_generator_; |
| 199 const std::string custom_user_agent_; | 200 const std::string custom_user_agent_; |
| 200 | 201 |
| 201 DISALLOW_COPY_AND_ASSIGN(GDataWapiService); | 202 DISALLOW_COPY_AND_ASSIGN(GDataWapiService); |
| 202 }; | 203 }; |
| 203 | 204 |
| 204 } // namespace drive | 205 } // namespace drive |
| 205 | 206 |
| 206 #endif // CHROME_BROWSER_DRIVE_GDATA_WAPI_SERVICE_H_ | 207 #endif // CHROME_BROWSER_DRIVE_GDATA_WAPI_SERVICE_H_ |
| OLD | NEW |