| 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_GOOGLE_APIS_FAKE_DRIVE_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_GOOGLE_APIS_FAKE_DRIVE_SERVICE_H_ |
| 6 #define CHROME_BROWSER_GOOGLE_APIS_FAKE_DRIVE_SERVICE_H_ | 6 #define CHROME_BROWSER_GOOGLE_APIS_FAKE_DRIVE_SERVICE_H_ |
| 7 | 7 |
| 8 #include "base/values.h" | 8 #include "base/values.h" |
| 9 #include "chrome/browser/google_apis/drive_service_interface.h" | 9 #include "chrome/browser/google_apis/drive_service_interface.h" |
| 10 | 10 |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 int64 start_changestamp, | 81 int64 start_changestamp, |
| 82 const std::string& search_query, | 82 const std::string& search_query, |
| 83 bool shared_with_me, | 83 bool shared_with_me, |
| 84 const std::string& directory_resource_id, | 84 const std::string& directory_resource_id, |
| 85 const GetResourceListCallback& callback) OVERRIDE; | 85 const GetResourceListCallback& callback) OVERRIDE; |
| 86 virtual void GetResourceEntry( | 86 virtual void GetResourceEntry( |
| 87 const std::string& resource_id, | 87 const std::string& resource_id, |
| 88 const GetResourceEntryCallback& callback) OVERRIDE; | 88 const GetResourceEntryCallback& callback) OVERRIDE; |
| 89 virtual void GetAccountMetadata( | 89 virtual void GetAccountMetadata( |
| 90 const GetAccountMetadataCallback& callback) OVERRIDE; | 90 const GetAccountMetadataCallback& callback) OVERRIDE; |
| 91 virtual void GetAboutResource( |
| 92 const GetAboutResourceCallback& callback) OVERRIDE; |
| 91 virtual void GetAppList(const GetAppListCallback& callback) OVERRIDE; | 93 virtual void GetAppList(const GetAppListCallback& callback) OVERRIDE; |
| 92 virtual void DeleteResource(const std::string& resource_id, | 94 virtual void DeleteResource(const std::string& resource_id, |
| 93 const std::string& etag, | 95 const std::string& etag, |
| 94 const EntryActionCallback& callback) OVERRIDE; | 96 const EntryActionCallback& callback) OVERRIDE; |
| 95 virtual void DownloadFile( | 97 virtual void DownloadFile( |
| 96 const base::FilePath& virtual_path, | 98 const base::FilePath& virtual_path, |
| 97 const base::FilePath& local_cache_path, | 99 const base::FilePath& local_cache_path, |
| 98 const GURL& download_url, | 100 const GURL& download_url, |
| 99 const DownloadActionCallback& download_action_callback, | 101 const DownloadActionCallback& download_action_callback, |
| 100 const GetContentCallback& get_content_callback) OVERRIDE; | 102 const GetContentCallback& get_content_callback) OVERRIDE; |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 175 int resource_list_load_count_; | 177 int resource_list_load_count_; |
| 176 int account_metadata_load_count_; | 178 int account_metadata_load_count_; |
| 177 bool offline_; | 179 bool offline_; |
| 178 | 180 |
| 179 DISALLOW_COPY_AND_ASSIGN(FakeDriveService); | 181 DISALLOW_COPY_AND_ASSIGN(FakeDriveService); |
| 180 }; | 182 }; |
| 181 | 183 |
| 182 } // namespace google_apis | 184 } // namespace google_apis |
| 183 | 185 |
| 184 #endif // CHROME_BROWSER_GOOGLE_APIS_FAKE_DRIVE_SERVICE_H_ | 186 #endif // CHROME_BROWSER_GOOGLE_APIS_FAKE_DRIVE_SERVICE_H_ |
| OLD | NEW |