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 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "chrome/browser/drive/drive_api_util.h" | 8 #include "chrome/browser/drive/drive_api_util.h" |
9 | 9 |
10 using google_apis::AboutResourceCallback; | 10 using google_apis::AboutResourceCallback; |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
143 const EntryActionCallback& callback) { return CancelCallback(); } | 143 const EntryActionCallback& callback) { return CancelCallback(); } |
144 | 144 |
145 CancelCallback DummyDriveService::RemoveResourceFromDirectory( | 145 CancelCallback DummyDriveService::RemoveResourceFromDirectory( |
146 const std::string& parent_resource_id, | 146 const std::string& parent_resource_id, |
147 const std::string& resource_id, | 147 const std::string& resource_id, |
148 const EntryActionCallback& callback) { return CancelCallback(); } | 148 const EntryActionCallback& callback) { return CancelCallback(); } |
149 | 149 |
150 CancelCallback DummyDriveService::AddNewDirectory( | 150 CancelCallback DummyDriveService::AddNewDirectory( |
151 const std::string& parent_resource_id, | 151 const std::string& parent_resource_id, |
152 const std::string& directory_title, | 152 const std::string& directory_title, |
| 153 const AddNewDirectoryOptions& options, |
153 const GetResourceEntryCallback& callback) { return CancelCallback(); } | 154 const GetResourceEntryCallback& callback) { return CancelCallback(); } |
154 | 155 |
155 CancelCallback DummyDriveService::InitiateUploadNewFile( | 156 CancelCallback DummyDriveService::InitiateUploadNewFile( |
156 const std::string& content_type, | 157 const std::string& content_type, |
157 int64 content_length, | 158 int64 content_length, |
158 const std::string& parent_resource_id, | 159 const std::string& parent_resource_id, |
159 const std::string& title, | 160 const std::string& title, |
160 const InitiateUploadNewFileOptions& options, | 161 const InitiateUploadNewFileOptions& options, |
161 const InitiateUploadCallback& callback) { return CancelCallback(); } | 162 const InitiateUploadCallback& callback) { return CancelCallback(); } |
162 | 163 |
(...skipping 30 matching lines...) Expand all Loading... |
193 | 194 |
194 CancelCallback DummyDriveService::GetResourceListInDirectoryByWapi( | 195 CancelCallback DummyDriveService::GetResourceListInDirectoryByWapi( |
195 const std::string& directory_resource_id, | 196 const std::string& directory_resource_id, |
196 const GetResourceListCallback& callback) { return CancelCallback(); } | 197 const GetResourceListCallback& callback) { return CancelCallback(); } |
197 | 198 |
198 CancelCallback DummyDriveService::GetRemainingResourceList( | 199 CancelCallback DummyDriveService::GetRemainingResourceList( |
199 const GURL& next_link, | 200 const GURL& next_link, |
200 const GetResourceListCallback& callback) { return CancelCallback(); } | 201 const GetResourceListCallback& callback) { return CancelCallback(); } |
201 | 202 |
202 } // namespace drive | 203 } // namespace drive |
OLD | NEW |