| 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 "chrome/browser/drive/drive_service_interface.h" | 9 #include "chrome/browser/drive/drive_service_interface.h" |
| 10 | 10 |
| (...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 185 const std::string& new_title, | 185 const std::string& new_title, |
| 186 const base::Time& last_modified, | 186 const base::Time& last_modified, |
| 187 const google_apis::FileResourceCallback& callback) OVERRIDE; | 187 const google_apis::FileResourceCallback& callback) OVERRIDE; |
| 188 virtual google_apis::CancelCallback UpdateResource( | 188 virtual google_apis::CancelCallback UpdateResource( |
| 189 const std::string& resource_id, | 189 const std::string& resource_id, |
| 190 const std::string& parent_resource_id, | 190 const std::string& parent_resource_id, |
| 191 const std::string& new_title, | 191 const std::string& new_title, |
| 192 const base::Time& last_modified, | 192 const base::Time& last_modified, |
| 193 const base::Time& last_viewed_by_me, | 193 const base::Time& last_viewed_by_me, |
| 194 const google_apis::FileResourceCallback& callback) OVERRIDE; | 194 const google_apis::FileResourceCallback& callback) OVERRIDE; |
| 195 virtual google_apis::CancelCallback RenameResource( | |
| 196 const std::string& resource_id, | |
| 197 const std::string& new_title, | |
| 198 const google_apis::EntryActionCallback& callback) OVERRIDE; | |
| 199 virtual google_apis::CancelCallback AddResourceToDirectory( | 195 virtual google_apis::CancelCallback AddResourceToDirectory( |
| 200 const std::string& parent_resource_id, | 196 const std::string& parent_resource_id, |
| 201 const std::string& resource_id, | 197 const std::string& resource_id, |
| 202 const google_apis::EntryActionCallback& callback) OVERRIDE; | 198 const google_apis::EntryActionCallback& callback) OVERRIDE; |
| 203 virtual google_apis::CancelCallback RemoveResourceFromDirectory( | 199 virtual google_apis::CancelCallback RemoveResourceFromDirectory( |
| 204 const std::string& parent_resource_id, | 200 const std::string& parent_resource_id, |
| 205 const std::string& resource_id, | 201 const std::string& resource_id, |
| 206 const google_apis::EntryActionCallback& callback) OVERRIDE; | 202 const google_apis::EntryActionCallback& callback) OVERRIDE; |
| 207 virtual google_apis::CancelCallback AddNewDirectory( | 203 virtual google_apis::CancelCallback AddNewDirectory( |
| 208 const std::string& parent_resource_id, | 204 const std::string& parent_resource_id, |
| (...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 355 GURL share_url_base_; | 351 GURL share_url_base_; |
| 356 std::string app_json_template_; | 352 std::string app_json_template_; |
| 357 std::string open_url_format_; | 353 std::string open_url_format_; |
| 358 | 354 |
| 359 DISALLOW_COPY_AND_ASSIGN(FakeDriveService); | 355 DISALLOW_COPY_AND_ASSIGN(FakeDriveService); |
| 360 }; | 356 }; |
| 361 | 357 |
| 362 } // namespace drive | 358 } // namespace drive |
| 363 | 359 |
| 364 #endif // CHROME_BROWSER_DRIVE_FAKE_DRIVE_SERVICE_H_ | 360 #endif // CHROME_BROWSER_DRIVE_FAKE_DRIVE_SERVICE_H_ |
| OLD | NEW |