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

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

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/file_callbacks.cc ('k') | webkit/plugins/ppapi/mock_plugin_delegate.cc » ('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 #ifndef WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ 5 #ifndef WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_
6 #define WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ 6 #define WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_
7 7
8 #include "webkit/plugins/ppapi/plugin_delegate.h" 8 #include "webkit/plugins/ppapi/plugin_delegate.h"
9 9
10 struct PP_NetAddress_Private; 10 struct PP_NetAddress_Private;
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 int total, 64 int total,
65 bool final_result); 65 bool final_result);
66 virtual void SelectedFindResultChanged(int identifier, int index); 66 virtual void SelectedFindResultChanged(int identifier, int index);
67 virtual bool AsyncOpenFile(const base::FilePath& path, 67 virtual bool AsyncOpenFile(const base::FilePath& path,
68 int flags, 68 int flags,
69 const AsyncOpenFileCallback& callback); 69 const AsyncOpenFileCallback& callback);
70 virtual bool AsyncOpenFileSystemURL( 70 virtual bool AsyncOpenFileSystemURL(
71 const GURL& path, 71 const GURL& path,
72 int flags, 72 int flags,
73 const AsyncOpenFileSystemURLCallback& callback); 73 const AsyncOpenFileSystemURLCallback& callback);
74 virtual bool IsFileSystemOpened(PP_Instance instance,
75 PP_Resource resource) const;
76 virtual PP_FileSystemType GetFileSystemType(PP_Instance instance,
77 PP_Resource resource) const;
78 virtual GURL GetFileSystemRootUrl(PP_Instance instance,
79 PP_Resource resource) const;
74 virtual bool OpenFileSystem( 80 virtual bool OpenFileSystem(
75 const GURL& origin_url, 81 const GURL& origin_url,
76 fileapi::FileSystemType type, 82 fileapi::FileSystemType type,
77 long long size, 83 long long size,
78 fileapi::FileSystemCallbackDispatcher* dispatcher); 84 fileapi::FileSystemCallbackDispatcher* dispatcher);
79 virtual bool MakeDirectory( 85 virtual bool MakeDirectory(
80 const GURL& path, 86 const GURL& path,
81 bool recursive, 87 bool recursive,
82 fileapi::FileSystemCallbackDispatcher* dispatcher); 88 fileapi::FileSystemCallbackDispatcher* dispatcher);
83 virtual bool Query(const GURL& path, 89 virtual bool Query(const GURL& path,
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 virtual void SampleGamepads(WebKit::WebGamepads* data) OVERRIDE; 170 virtual void SampleGamepads(WebKit::WebGamepads* data) OVERRIDE;
165 virtual bool IsInFullscreenMode(); 171 virtual bool IsInFullscreenMode();
166 virtual bool IsPageVisible() const; 172 virtual bool IsPageVisible() const;
167 virtual int EnumerateDevices(PP_DeviceType_Dev type, 173 virtual int EnumerateDevices(PP_DeviceType_Dev type,
168 const EnumerateDevicesCallback& callback); 174 const EnumerateDevicesCallback& callback);
169 virtual void StopEnumerateDevices(int request_id); 175 virtual void StopEnumerateDevices(int request_id);
170 virtual IPC::PlatformFileForTransit ShareHandleWithRemote( 176 virtual IPC::PlatformFileForTransit ShareHandleWithRemote(
171 base::PlatformFile handle, 177 base::PlatformFile handle,
172 base::ProcessId target_process_id, 178 base::ProcessId target_process_id,
173 bool should_close_source) const; 179 bool should_close_source) const;
180 virtual bool IsRunningInProcess(PP_Instance instance) const;
174 }; 181 };
175 182
176 } // namespace ppapi 183 } // namespace ppapi
177 } // namespace webkit 184 } // namespace webkit
178 185
179 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ 186 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_
OLDNEW
« no previous file with comments | « webkit/plugins/ppapi/file_callbacks.cc ('k') | webkit/plugins/ppapi/mock_plugin_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698