| 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 281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 292 int start_offset, | 292 int start_offset, |
| 293 int max_results, | 293 int max_results, |
| 294 int* load_counter, | 294 int* load_counter, |
| 295 const google_apis::GetResourceListCallback& callback); | 295 const google_apis::GetResourceListCallback& callback); |
| 296 | 296 |
| 297 // Returns new upload session URL. | 297 // Returns new upload session URL. |
| 298 GURL GetNewUploadSessionUrl(); | 298 GURL GetNewUploadSessionUrl(); |
| 299 | 299 |
| 300 scoped_ptr<base::DictionaryValue> resource_list_value_; | 300 scoped_ptr<base::DictionaryValue> resource_list_value_; |
| 301 scoped_ptr<base::DictionaryValue> account_metadata_value_; | 301 scoped_ptr<base::DictionaryValue> account_metadata_value_; |
| 302 scoped_ptr<base::DictionaryValue> app_info_value_; | 302 scoped_ptr<base::Value> app_info_value_; |
| 303 std::map<GURL, UploadSession> upload_sessions_; | 303 std::map<GURL, UploadSession> upload_sessions_; |
| 304 int64 largest_changestamp_; | 304 int64 largest_changestamp_; |
| 305 int64 published_date_seq_; | 305 int64 published_date_seq_; |
| 306 int64 next_upload_sequence_number_; | 306 int64 next_upload_sequence_number_; |
| 307 int default_max_results_; | 307 int default_max_results_; |
| 308 int resource_id_count_; | 308 int resource_id_count_; |
| 309 int resource_list_load_count_; | 309 int resource_list_load_count_; |
| 310 int change_list_load_count_; | 310 int change_list_load_count_; |
| 311 int directory_load_count_; | 311 int directory_load_count_; |
| 312 int about_resource_load_count_; | 312 int about_resource_load_count_; |
| 313 int app_list_load_count_; | 313 int app_list_load_count_; |
| 314 int blocked_resource_list_load_count_; | 314 int blocked_resource_list_load_count_; |
| 315 bool offline_; | 315 bool offline_; |
| 316 bool never_return_all_resource_list_; | 316 bool never_return_all_resource_list_; |
| 317 base::FilePath last_cancelled_file_; | 317 base::FilePath last_cancelled_file_; |
| 318 GURL share_url_base_; | 318 GURL share_url_base_; |
| 319 | 319 |
| 320 DISALLOW_COPY_AND_ASSIGN(FakeDriveService); | 320 DISALLOW_COPY_AND_ASSIGN(FakeDriveService); |
| 321 }; | 321 }; |
| 322 | 322 |
| 323 } // namespace drive | 323 } // namespace drive |
| 324 | 324 |
| 325 #endif // CHROME_BROWSER_DRIVE_FAKE_DRIVE_SERVICE_H_ | 325 #endif // CHROME_BROWSER_DRIVE_FAKE_DRIVE_SERVICE_H_ |
| OLD | NEW |