Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1410)

Side by Side Diff: webkit/plugins/ppapi/mock_plugin_delegate.cc

Issue 14796018: Cleanup: Deprecate FileSystemCallbackDispatcher (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « webkit/plugins/ppapi/mock_plugin_delegate.h ('k') | webkit/plugins/ppapi/plugin_delegate.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "webkit/plugins/ppapi/mock_plugin_delegate.h" 5 #include "webkit/plugins/ppapi/mock_plugin_delegate.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/message_loop_proxy.h" 8 #include "base/message_loop_proxy.h"
9 #include "ppapi/c/pp_errors.h" 9 #include "ppapi/c/pp_errors.h"
10 #include "ppapi/shared_impl/ppapi_preferences.h" 10 #include "ppapi/shared_impl/ppapi_preferences.h"
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 PP_Resource resource) const { 166 PP_Resource resource) const {
167 return PP_FILESYSTEMTYPE_INVALID; 167 return PP_FILESYSTEMTYPE_INVALID;
168 } 168 }
169 169
170 GURL MockPluginDelegate::GetFileSystemRootUrl( 170 GURL MockPluginDelegate::GetFileSystemRootUrl(
171 PP_Instance instance, 171 PP_Instance instance,
172 PP_Resource resource) const { 172 PP_Resource resource) const {
173 return GURL(); 173 return GURL();
174 } 174 }
175 175
176 bool MockPluginDelegate::OpenFileSystem(
177 const GURL& origin_url,
178 fileapi::FileSystemType type,
179 long long size,
180 fileapi::FileSystemCallbackDispatcher* dispatcher) {
181 return false;
182 }
183
184 bool MockPluginDelegate::MakeDirectory( 176 bool MockPluginDelegate::MakeDirectory(
185 const GURL& path, 177 const GURL& path,
186 bool recursive, 178 bool recursive,
187 fileapi::FileSystemCallbackDispatcher* dispatcher) { 179 const StatusCallback& callback) {
188 return false; 180 return false;
189 } 181 }
190 182
191 bool MockPluginDelegate::Query( 183 bool MockPluginDelegate::Query(
192 const GURL& path, 184 const GURL& path,
193 fileapi::FileSystemCallbackDispatcher* dispatcher) { 185 const MetadataCallback& success_callback,
186 const StatusCallback& error_callback) {
194 return false; 187 return false;
195 } 188 }
196 189
197 bool MockPluginDelegate::ReadDirectoryEntries( 190 bool MockPluginDelegate::ReadDirectoryEntries(
198 const GURL& path, 191 const GURL& path,
199 fileapi::FileSystemCallbackDispatcher* dispatcher) { 192 const ReadDirectoryCallback& success_callback,
193 const StatusCallback& error_callback) {
200 return false; 194 return false;
201 } 195 }
202 196
203 bool MockPluginDelegate::Touch( 197 bool MockPluginDelegate::Touch(
204 const GURL& path, 198 const GURL& path,
205 const base::Time& last_access_time, 199 const base::Time& last_access_time,
206 const base::Time& last_modified_time, 200 const base::Time& last_modified_time,
207 fileapi::FileSystemCallbackDispatcher* dispatcher) { 201 const StatusCallback& callback) {
208 return false; 202 return false;
209 } 203 }
210 204
211 bool MockPluginDelegate::SetLength( 205 bool MockPluginDelegate::SetLength(
212 const GURL& path, 206 const GURL& path,
213 int64_t length, 207 int64_t length,
214 fileapi::FileSystemCallbackDispatcher* dispatcher) { 208 const StatusCallback& callback) {
215 return false; 209 return false;
216 } 210 }
217 211
218 bool MockPluginDelegate::Delete( 212 bool MockPluginDelegate::Delete(
219 const GURL& path, 213 const GURL& path,
220 fileapi::FileSystemCallbackDispatcher* dispatcher) { 214 const StatusCallback& callback) {
221 return false; 215 return false;
222 } 216 }
223 217
224 bool MockPluginDelegate::Rename( 218 bool MockPluginDelegate::Rename(
225 const GURL& file_path, 219 const GURL& file_path,
226 const GURL& new_file_path, 220 const GURL& new_file_path,
227 fileapi::FileSystemCallbackDispatcher* dispatcher) { 221 const StatusCallback& callback) {
228 return false; 222 return false;
229 } 223 }
230 224
231 bool MockPluginDelegate::ReadDirectory( 225 bool MockPluginDelegate::ReadDirectory(
232 const GURL& directory_path, 226 const GURL& directory_path,
233 fileapi::FileSystemCallbackDispatcher* dispatcher) { 227 const ReadDirectoryCallback& success_callback,
228 const StatusCallback& error_callback) {
234 return false; 229 return false;
235 } 230 }
236 231
237 void MockPluginDelegate::QueryAvailableSpace( 232 void MockPluginDelegate::QueryAvailableSpace(
238 const GURL& origin, quota::StorageType type, 233 const GURL& origin, quota::StorageType type,
239 const AvailableSpaceCallback& callback) { 234 const AvailableSpaceCallback& callback) {
240 } 235 }
241 236
242 void MockPluginDelegate::WillUpdateFile(const GURL& file_path) { 237 void MockPluginDelegate::WillUpdateFile(const GURL& file_path) {
243 } 238 }
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
418 return false; 413 return false;
419 } 414 }
420 415
421 void MockPluginDelegate::HandleDocumentLoad( 416 void MockPluginDelegate::HandleDocumentLoad(
422 PluginInstance* instance, 417 PluginInstance* instance,
423 const WebKit::WebURLResponse& response) { 418 const WebKit::WebURLResponse& response) {
424 } 419 }
425 420
426 } // namespace ppapi 421 } // namespace ppapi
427 } // namespace webkit 422 } // namespace webkit
OLDNEW
« no previous file with comments | « webkit/plugins/ppapi/mock_plugin_delegate.h ('k') | webkit/plugins/ppapi/plugin_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698