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 | 8 |
9 using google_apis::AboutResourceCallback; | 9 using google_apis::AboutResourceCallback; |
10 using google_apis::AppListCallback; | 10 using google_apis::AppListCallback; |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 CancelCallback DummyDriveService::UpdateResource( | 121 CancelCallback DummyDriveService::UpdateResource( |
122 const std::string& resource_id, | 122 const std::string& resource_id, |
123 const std::string& parent_resource_id, | 123 const std::string& parent_resource_id, |
124 const std::string& new_title, | 124 const std::string& new_title, |
125 const base::Time& last_modified, | 125 const base::Time& last_modified, |
126 const base::Time& last_viewed_by_me, | 126 const base::Time& last_viewed_by_me, |
127 const google_apis::FileResourceCallback& callback) { | 127 const google_apis::FileResourceCallback& callback) { |
128 return CancelCallback(); | 128 return CancelCallback(); |
129 } | 129 } |
130 | 130 |
131 CancelCallback DummyDriveService::RenameResource( | |
132 const std::string& resource_id, | |
133 const std::string& new_title, | |
134 const EntryActionCallback& callback) { return CancelCallback(); } | |
135 | |
136 CancelCallback DummyDriveService::AddResourceToDirectory( | 131 CancelCallback DummyDriveService::AddResourceToDirectory( |
137 const std::string& parent_resource_id, | 132 const std::string& parent_resource_id, |
138 const std::string& resource_id, | 133 const std::string& resource_id, |
139 const EntryActionCallback& callback) { return CancelCallback(); } | 134 const EntryActionCallback& callback) { return CancelCallback(); } |
140 | 135 |
141 CancelCallback DummyDriveService::RemoveResourceFromDirectory( | 136 CancelCallback DummyDriveService::RemoveResourceFromDirectory( |
142 const std::string& parent_resource_id, | 137 const std::string& parent_resource_id, |
143 const std::string& resource_id, | 138 const std::string& resource_id, |
144 const EntryActionCallback& callback) { return CancelCallback(); } | 139 const EntryActionCallback& callback) { return CancelCallback(); } |
145 | 140 |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
188 const std::string& app_id, | 183 const std::string& app_id, |
189 const EntryActionCallback& callback) { return CancelCallback(); } | 184 const EntryActionCallback& callback) { return CancelCallback(); } |
190 | 185 |
191 CancelCallback DummyDriveService::AddPermission( | 186 CancelCallback DummyDriveService::AddPermission( |
192 const std::string& resource_id, | 187 const std::string& resource_id, |
193 const std::string& email, | 188 const std::string& email, |
194 google_apis::drive::PermissionRole role, | 189 google_apis::drive::PermissionRole role, |
195 const EntryActionCallback& callback) { return CancelCallback(); } | 190 const EntryActionCallback& callback) { return CancelCallback(); } |
196 | 191 |
197 } // namespace drive | 192 } // namespace drive |
OLD | NEW |