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_DUMMY_DRIVE_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_GOOGLE_APIS_DUMMY_DRIVE_SERVICE_H_ |
6 #define CHROME_BROWSER_GOOGLE_APIS_DUMMY_DRIVE_SERVICE_H_ | 6 #define CHROME_BROWSER_GOOGLE_APIS_DUMMY_DRIVE_SERVICE_H_ |
7 | 7 |
8 #include "chrome/browser/google_apis/drive_service_interface.h" | 8 #include "chrome/browser/google_apis/drive_service_interface.h" |
9 | 9 |
10 namespace google_apis { | 10 namespace google_apis { |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 const GetAboutResourceCallback& callback) OVERRIDE; | 56 const GetAboutResourceCallback& callback) OVERRIDE; |
57 virtual void GetAppList(const GetAppListCallback& callback) OVERRIDE; | 57 virtual void GetAppList(const GetAppListCallback& callback) OVERRIDE; |
58 virtual void DeleteResource(const std::string& resource_id, | 58 virtual void DeleteResource(const std::string& resource_id, |
59 const std::string& etag, | 59 const std::string& etag, |
60 const EntryActionCallback& callback) OVERRIDE; | 60 const EntryActionCallback& callback) OVERRIDE; |
61 virtual void DownloadFile( | 61 virtual void DownloadFile( |
62 const base::FilePath& virtual_path, | 62 const base::FilePath& virtual_path, |
63 const base::FilePath& local_cache_path, | 63 const base::FilePath& local_cache_path, |
64 const GURL& download_url, | 64 const GURL& download_url, |
65 const DownloadActionCallback& download_action_callback, | 65 const DownloadActionCallback& download_action_callback, |
66 const GetContentCallback& get_content_callback) OVERRIDE; | 66 const GetContentCallback& get_content_callback, |
| 67 const ProgressCallback& progress_callback) OVERRIDE; |
67 virtual void CopyHostedDocument( | 68 virtual void CopyHostedDocument( |
68 const std::string& resource_id, | 69 const std::string& resource_id, |
69 const std::string& new_name, | 70 const std::string& new_name, |
70 const GetResourceEntryCallback& callback) OVERRIDE; | 71 const GetResourceEntryCallback& callback) OVERRIDE; |
71 virtual void RenameResource(const std::string& resource_id, | 72 virtual void RenameResource(const std::string& resource_id, |
72 const std::string& new_name, | 73 const std::string& new_name, |
73 const EntryActionCallback& callback) OVERRIDE; | 74 const EntryActionCallback& callback) OVERRIDE; |
74 virtual void AddResourceToDirectory( | 75 virtual void AddResourceToDirectory( |
75 const std::string& parent_resource_id, | 76 const std::string& parent_resource_id, |
76 const std::string& resource_id, | 77 const std::string& resource_id, |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 int64 content_length, | 116 int64 content_length, |
116 const UploadRangeCallback& callback) OVERRIDE; | 117 const UploadRangeCallback& callback) OVERRIDE; |
117 virtual void AuthorizeApp(const std::string& resource_id, | 118 virtual void AuthorizeApp(const std::string& resource_id, |
118 const std::string& app_id, | 119 const std::string& app_id, |
119 const AuthorizeAppCallback& callback) OVERRIDE; | 120 const AuthorizeAppCallback& callback) OVERRIDE; |
120 }; | 121 }; |
121 | 122 |
122 } // namespace google_apis | 123 } // namespace google_apis |
123 | 124 |
124 #endif // CHROME_BROWSER_GOOGLE_APIS_DUMMY_DRIVE_SERVICE_H_ | 125 #endif // CHROME_BROWSER_GOOGLE_APIS_DUMMY_DRIVE_SERVICE_H_ |
OLD | NEW |