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

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

Issue 13726024: Refactor FileSystem (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: NON_EXPORTED_BASE Created 7 years, 8 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
« 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 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 return false; 148 return false;
149 } 149 }
150 150
151 bool MockPluginDelegate::AsyncOpenFileSystemURL( 151 bool MockPluginDelegate::AsyncOpenFileSystemURL(
152 const GURL& path, 152 const GURL& path,
153 int flags, 153 int flags,
154 const AsyncOpenFileSystemURLCallback& callback) { 154 const AsyncOpenFileSystemURLCallback& callback) {
155 return false; 155 return false;
156 } 156 }
157 157
158 bool MockPluginDelegate::IsFileSystemOpened(
159 PP_Instance instance,
160 PP_Resource resource) const {
161 return false;
162 }
163
164 PP_FileSystemType MockPluginDelegate::GetFileSystemType(
165 PP_Instance instance,
166 PP_Resource resource) const {
167 return PP_FILESYSTEMTYPE_INVALID;
168 }
169
170 GURL MockPluginDelegate::GetFileSystemRootUrl(
171 PP_Instance instance,
172 PP_Resource resource) const {
173 return GURL();
174 }
175
158 bool MockPluginDelegate::OpenFileSystem( 176 bool MockPluginDelegate::OpenFileSystem(
159 const GURL& origin_url, 177 const GURL& origin_url,
160 fileapi::FileSystemType type, 178 fileapi::FileSystemType type,
161 long long size, 179 long long size,
162 fileapi::FileSystemCallbackDispatcher* dispatcher) { 180 fileapi::FileSystemCallbackDispatcher* dispatcher) {
163 return false; 181 return false;
164 } 182 }
165 183
166 bool MockPluginDelegate::MakeDirectory( 184 bool MockPluginDelegate::MakeDirectory(
167 const GURL& path, 185 const GURL& path,
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
383 void MockPluginDelegate::StopEnumerateDevices(int request_id) { 401 void MockPluginDelegate::StopEnumerateDevices(int request_id) {
384 } 402 }
385 403
386 IPC::PlatformFileForTransit MockPluginDelegate::ShareHandleWithRemote( 404 IPC::PlatformFileForTransit MockPluginDelegate::ShareHandleWithRemote(
387 base::PlatformFile handle, 405 base::PlatformFile handle,
388 base::ProcessId target_process_id, 406 base::ProcessId target_process_id,
389 bool should_close_source) const { 407 bool should_close_source) const {
390 return IPC::InvalidPlatformFileForTransit(); 408 return IPC::InvalidPlatformFileForTransit();
391 } 409 }
392 410
411 bool MockPluginDelegate::IsRunningInProcess(PP_Instance instance) const {
412 return false;
413 }
414
393 } // namespace ppapi 415 } // namespace ppapi
394 } // namespace webkit 416 } // 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