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_DRIVE_API_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_DRIVE_DRIVE_API_SERVICE_H_ |
6 #define CHROME_BROWSER_DRIVE_DRIVE_API_SERVICE_H_ | 6 #define CHROME_BROWSER_DRIVE_DRIVE_API_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 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 RemoveResourceFromDirectory( | 143 virtual google_apis::CancelCallback RemoveResourceFromDirectory( |
144 const std::string& parent_resource_id, | 144 const std::string& parent_resource_id, |
145 const std::string& resource_id, | 145 const std::string& resource_id, |
146 const google_apis::EntryActionCallback& callback) OVERRIDE; | 146 const google_apis::EntryActionCallback& callback) OVERRIDE; |
147 virtual google_apis::CancelCallback AddNewDirectory( | 147 virtual google_apis::CancelCallback AddNewDirectory( |
148 const std::string& parent_resource_id, | 148 const std::string& parent_resource_id, |
149 const std::string& directory_title, | 149 const std::string& directory_title, |
| 150 const AddNewDirectoryOptions& options, |
150 const google_apis::GetResourceEntryCallback& callback) OVERRIDE; | 151 const google_apis::GetResourceEntryCallback& callback) OVERRIDE; |
151 virtual google_apis::CancelCallback InitiateUploadNewFile( | 152 virtual google_apis::CancelCallback InitiateUploadNewFile( |
152 const std::string& content_type, | 153 const std::string& content_type, |
153 int64 content_length, | 154 int64 content_length, |
154 const std::string& parent_resource_id, | 155 const std::string& parent_resource_id, |
155 const std::string& title, | 156 const std::string& title, |
156 const InitiateUploadNewFileOptions& options, | 157 const InitiateUploadNewFileOptions& options, |
157 const google_apis::InitiateUploadCallback& callback) OVERRIDE; | 158 const google_apis::InitiateUploadCallback& callback) OVERRIDE; |
158 virtual google_apis::CancelCallback InitiateUploadExistingFile( | 159 virtual google_apis::CancelCallback InitiateUploadExistingFile( |
159 const std::string& content_type, | 160 const std::string& content_type, |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
200 google_apis::DriveApiUrlGenerator url_generator_; | 201 google_apis::DriveApiUrlGenerator url_generator_; |
201 google_apis::GDataWapiUrlGenerator wapi_url_generator_; | 202 google_apis::GDataWapiUrlGenerator wapi_url_generator_; |
202 const std::string custom_user_agent_; | 203 const std::string custom_user_agent_; |
203 | 204 |
204 DISALLOW_COPY_AND_ASSIGN(DriveAPIService); | 205 DISALLOW_COPY_AND_ASSIGN(DriveAPIService); |
205 }; | 206 }; |
206 | 207 |
207 } // namespace drive | 208 } // namespace drive |
208 | 209 |
209 #endif // CHROME_BROWSER_DRIVE_DRIVE_API_SERVICE_H_ | 210 #endif // CHROME_BROWSER_DRIVE_DRIVE_API_SERVICE_H_ |
OLD | NEW |