| 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 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 175 const std::string& resource_id, | 175 const std::string& resource_id, |
| 176 const std::string& parent_resource_id, | 176 const std::string& parent_resource_id, |
| 177 const std::string& new_title, | 177 const std::string& new_title, |
| 178 const base::Time& last_modified, | 178 const base::Time& last_modified, |
| 179 const base::Time& last_viewed_by_me, | 179 const base::Time& last_viewed_by_me, |
| 180 const google_apis::GetResourceEntryCallback& callback) OVERRIDE; | 180 const google_apis::GetResourceEntryCallback& callback) OVERRIDE; |
| 181 virtual google_apis::CancelCallback RenameResource( | 181 virtual google_apis::CancelCallback RenameResource( |
| 182 const std::string& resource_id, | 182 const std::string& resource_id, |
| 183 const std::string& new_title, | 183 const std::string& new_title, |
| 184 const google_apis::EntryActionCallback& callback) OVERRIDE; | 184 const google_apis::EntryActionCallback& callback) OVERRIDE; |
| 185 virtual google_apis::CancelCallback TouchResource( | |
| 186 const std::string& resource_id, | |
| 187 const base::Time& modified_date, | |
| 188 const base::Time& last_viewed_by_me_date, | |
| 189 const google_apis::GetResourceEntryCallback& callback) OVERRIDE; | |
| 190 virtual google_apis::CancelCallback AddResourceToDirectory( | 185 virtual google_apis::CancelCallback AddResourceToDirectory( |
| 191 const std::string& parent_resource_id, | 186 const std::string& parent_resource_id, |
| 192 const std::string& resource_id, | 187 const std::string& resource_id, |
| 193 const google_apis::EntryActionCallback& callback) OVERRIDE; | 188 const google_apis::EntryActionCallback& callback) OVERRIDE; |
| 194 virtual google_apis::CancelCallback RemoveResourceFromDirectory( | 189 virtual google_apis::CancelCallback RemoveResourceFromDirectory( |
| 195 const std::string& parent_resource_id, | 190 const std::string& parent_resource_id, |
| 196 const std::string& resource_id, | 191 const std::string& resource_id, |
| 197 const google_apis::EntryActionCallback& callback) OVERRIDE; | 192 const google_apis::EntryActionCallback& callback) OVERRIDE; |
| 198 virtual google_apis::CancelCallback AddNewDirectory( | 193 virtual google_apis::CancelCallback AddNewDirectory( |
| 199 const std::string& parent_resource_id, | 194 const std::string& parent_resource_id, |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 319 bool never_return_all_resource_list_; | 314 bool never_return_all_resource_list_; |
| 320 base::FilePath last_cancelled_file_; | 315 base::FilePath last_cancelled_file_; |
| 321 GURL share_url_base_; | 316 GURL share_url_base_; |
| 322 | 317 |
| 323 DISALLOW_COPY_AND_ASSIGN(FakeDriveService); | 318 DISALLOW_COPY_AND_ASSIGN(FakeDriveService); |
| 324 }; | 319 }; |
| 325 | 320 |
| 326 } // namespace drive | 321 } // namespace drive |
| 327 | 322 |
| 328 #endif // CHROME_BROWSER_DRIVE_FAKE_DRIVE_SERVICE_H_ | 323 #endif // CHROME_BROWSER_DRIVE_FAKE_DRIVE_SERVICE_H_ |
| OLD | NEW |