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_FAKE_DRIVE_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_DRIVE_FAKE_DRIVE_SERVICE_H_ |
6 #define CHROME_BROWSER_DRIVE_FAKE_DRIVE_SERVICE_H_ | 6 #define CHROME_BROWSER_DRIVE_FAKE_DRIVE_SERVICE_H_ |
7 | 7 |
8 #include "base/files/file_path.h" | 8 #include "base/files/file_path.h" |
9 #include "base/values.h" | 9 #include "base/values.h" |
10 #include "chrome/browser/drive/drive_service_interface.h" | 10 #include "chrome/browser/drive/drive_service_interface.h" |
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
190 const std::string& parent_resource_id, | 190 const std::string& parent_resource_id, |
191 const std::string& resource_id, | 191 const std::string& resource_id, |
192 const google_apis::EntryActionCallback& callback) OVERRIDE; | 192 const google_apis::EntryActionCallback& callback) OVERRIDE; |
193 virtual google_apis::CancelCallback RemoveResourceFromDirectory( | 193 virtual google_apis::CancelCallback RemoveResourceFromDirectory( |
194 const std::string& parent_resource_id, | 194 const std::string& parent_resource_id, |
195 const std::string& resource_id, | 195 const std::string& resource_id, |
196 const google_apis::EntryActionCallback& callback) OVERRIDE; | 196 const google_apis::EntryActionCallback& callback) OVERRIDE; |
197 virtual google_apis::CancelCallback AddNewDirectory( | 197 virtual google_apis::CancelCallback AddNewDirectory( |
198 const std::string& parent_resource_id, | 198 const std::string& parent_resource_id, |
199 const std::string& directory_title, | 199 const std::string& directory_title, |
| 200 const AddNewDirectoryOptions& options, |
200 const google_apis::GetResourceEntryCallback& callback) OVERRIDE; | 201 const google_apis::GetResourceEntryCallback& callback) OVERRIDE; |
201 virtual google_apis::CancelCallback InitiateUploadNewFile( | 202 virtual google_apis::CancelCallback InitiateUploadNewFile( |
202 const std::string& content_type, | 203 const std::string& content_type, |
203 int64 content_length, | 204 int64 content_length, |
204 const std::string& parent_resource_id, | 205 const std::string& parent_resource_id, |
205 const std::string& title, | 206 const std::string& title, |
206 const InitiateUploadNewFileOptions& options, | 207 const InitiateUploadNewFileOptions& options, |
207 const google_apis::InitiateUploadCallback& callback) OVERRIDE; | 208 const google_apis::InitiateUploadCallback& callback) OVERRIDE; |
208 virtual google_apis::CancelCallback InitiateUploadExistingFile( | 209 virtual google_apis::CancelCallback InitiateUploadExistingFile( |
209 const std::string& content_type, | 210 const std::string& content_type, |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
319 bool never_return_all_resource_list_; | 320 bool never_return_all_resource_list_; |
320 base::FilePath last_cancelled_file_; | 321 base::FilePath last_cancelled_file_; |
321 GURL share_url_base_; | 322 GURL share_url_base_; |
322 | 323 |
323 DISALLOW_COPY_AND_ASSIGN(FakeDriveService); | 324 DISALLOW_COPY_AND_ASSIGN(FakeDriveService); |
324 }; | 325 }; |
325 | 326 |
326 } // namespace drive | 327 } // namespace drive |
327 | 328 |
328 #endif // CHROME_BROWSER_DRIVE_FAKE_DRIVE_SERVICE_H_ | 329 #endif // CHROME_BROWSER_DRIVE_FAKE_DRIVE_SERVICE_H_ |
OLD | NEW |