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 #include "chrome/browser/drive/dummy_drive_service.h" | 5 #include "chrome/browser/drive/dummy_drive_service.h" |
6 | 6 |
7 using google_apis::AuthorizeAppCallback; | 7 using google_apis::AuthorizeAppCallback; |
8 using google_apis::CancelCallback; | 8 using google_apis::CancelCallback; |
9 using google_apis::DownloadActionCallback; | 9 using google_apis::DownloadActionCallback; |
10 using google_apis::EntryActionCallback; | 10 using google_apis::EntryActionCallback; |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 CancelCallback DummyDriveService::GetAppList( | 82 CancelCallback DummyDriveService::GetAppList( |
83 const GetAppListCallback& callback) { return CancelCallback(); } | 83 const GetAppListCallback& callback) { return CancelCallback(); } |
84 | 84 |
85 CancelCallback DummyDriveService::DeleteResource( | 85 CancelCallback DummyDriveService::DeleteResource( |
86 const std::string& resource_id, | 86 const std::string& resource_id, |
87 const std::string& etag, | 87 const std::string& etag, |
88 const EntryActionCallback& callback) { return CancelCallback(); } | 88 const EntryActionCallback& callback) { return CancelCallback(); } |
89 | 89 |
90 CancelCallback DummyDriveService::DownloadFile( | 90 CancelCallback DummyDriveService::DownloadFile( |
91 const base::FilePath& local_cache_path, | 91 const base::FilePath& local_cache_path, |
92 const GURL& download_url, | 92 const std::string& resource_id, |
93 const DownloadActionCallback& download_action_callback, | 93 const DownloadActionCallback& download_action_callback, |
94 const GetContentCallback& get_content_callback, | 94 const GetContentCallback& get_content_callback, |
95 const ProgressCallback& progress_callback) { return CancelCallback(); } | 95 const ProgressCallback& progress_callback) { return CancelCallback(); } |
96 | 96 |
97 CancelCallback DummyDriveService::CopyResource( | 97 CancelCallback DummyDriveService::CopyResource( |
98 const std::string& resource_id, | 98 const std::string& resource_id, |
99 const std::string& parent_resource_id, | 99 const std::string& parent_resource_id, |
100 const std::string& new_name, | 100 const std::string& new_name, |
101 const GetResourceEntryCallback& callback) { return CancelCallback(); } | 101 const GetResourceEntryCallback& callback) { return CancelCallback(); } |
102 | 102 |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 const GURL& upload_url, | 159 const GURL& upload_url, |
160 int64 content_length, | 160 int64 content_length, |
161 const UploadRangeCallback& callback) { return CancelCallback(); } | 161 const UploadRangeCallback& callback) { return CancelCallback(); } |
162 | 162 |
163 CancelCallback DummyDriveService::AuthorizeApp( | 163 CancelCallback DummyDriveService::AuthorizeApp( |
164 const std::string& resource_id, | 164 const std::string& resource_id, |
165 const std::string& app_id, | 165 const std::string& app_id, |
166 const AuthorizeAppCallback& callback) { return CancelCallback(); } | 166 const AuthorizeAppCallback& callback) { return CancelCallback(); } |
167 | 167 |
168 } // namespace drive | 168 } // namespace drive |
OLD | NEW |