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

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

Issue 10534045: Add CreateTemporaryFile to PPB_Flash_File_ModuleLocal. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 6 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
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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 const ::ppapi::PepperFilePath& path, 107 const ::ppapi::PepperFilePath& path,
108 bool recursive); 108 bool recursive);
109 virtual base::PlatformFileError CreateDir( 109 virtual base::PlatformFileError CreateDir(
110 const ::ppapi::PepperFilePath& path); 110 const ::ppapi::PepperFilePath& path);
111 virtual base::PlatformFileError QueryFile( 111 virtual base::PlatformFileError QueryFile(
112 const ::ppapi::PepperFilePath& path, 112 const ::ppapi::PepperFilePath& path,
113 base::PlatformFileInfo* info); 113 base::PlatformFileInfo* info);
114 virtual base::PlatformFileError GetDirContents( 114 virtual base::PlatformFileError GetDirContents(
115 const ::ppapi::PepperFilePath& path, 115 const ::ppapi::PepperFilePath& path,
116 ::ppapi::DirContents* contents); 116 ::ppapi::DirContents* contents);
117 virtual base::PlatformFileError CreateTemporaryFile(
118 base::PlatformFile* file);
117 virtual void SyncGetFileSystemPlatformPath(const GURL& url, 119 virtual void SyncGetFileSystemPlatformPath(const GURL& url,
118 FilePath* platform_path); 120 FilePath* platform_path);
119 virtual scoped_refptr<base::MessageLoopProxy> 121 virtual scoped_refptr<base::MessageLoopProxy>
120 GetFileThreadMessageLoopProxy(); 122 GetFileThreadMessageLoopProxy();
121 virtual uint32 TCPSocketCreate(); 123 virtual uint32 TCPSocketCreate();
122 virtual void TCPSocketConnect(PPB_TCPSocket_Private_Impl* socket, 124 virtual void TCPSocketConnect(PPB_TCPSocket_Private_Impl* socket,
123 uint32 socket_id, 125 uint32 socket_id,
124 const std::string& host, 126 const std::string& host,
125 uint16_t port); 127 uint16_t port);
126 virtual void TCPSocketConnectWithNetAddress( 128 virtual void TCPSocketConnectWithNetAddress(
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 virtual int EnumerateDevices(PP_DeviceType_Dev type, 203 virtual int EnumerateDevices(PP_DeviceType_Dev type,
202 const EnumerateDevicesCallback& callback); 204 const EnumerateDevicesCallback& callback);
203 virtual webkit_glue::ClipboardClient* CreateClipboardClient() const; 205 virtual webkit_glue::ClipboardClient* CreateClipboardClient() const;
204 virtual std::string GetDeviceID(); 206 virtual std::string GetDeviceID();
205 }; 207 };
206 208
207 } // namespace ppapi 209 } // namespace ppapi
208 } // namespace webkit 210 } // namespace webkit
209 211
210 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ 212 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_
OLDNEW
« no previous file with comments | « ppapi/thunk/ppb_flash_file_modulelocal_thunk.cc ('k') | webkit/plugins/ppapi/mock_plugin_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698