| 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 #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 Loading... |
| 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 const ::ppapi::PepperFilePath& dir_path, |
| 119 base::PlatformFile* file, |
| 120 std::string* file_name); |
| 117 virtual void SyncGetFileSystemPlatformPath(const GURL& url, | 121 virtual void SyncGetFileSystemPlatformPath(const GURL& url, |
| 118 FilePath* platform_path); | 122 FilePath* platform_path); |
| 119 virtual scoped_refptr<base::MessageLoopProxy> | 123 virtual scoped_refptr<base::MessageLoopProxy> |
| 120 GetFileThreadMessageLoopProxy(); | 124 GetFileThreadMessageLoopProxy(); |
| 121 virtual uint32 TCPSocketCreate(); | 125 virtual uint32 TCPSocketCreate(); |
| 122 virtual void TCPSocketConnect(PPB_TCPSocket_Private_Impl* socket, | 126 virtual void TCPSocketConnect(PPB_TCPSocket_Private_Impl* socket, |
| 123 uint32 socket_id, | 127 uint32 socket_id, |
| 124 const std::string& host, | 128 const std::string& host, |
| 125 uint16_t port); | 129 uint16_t port); |
| 126 virtual void TCPSocketConnectWithNetAddress( | 130 virtual void TCPSocketConnectWithNetAddress( |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 201 virtual int EnumerateDevices(PP_DeviceType_Dev type, | 205 virtual int EnumerateDevices(PP_DeviceType_Dev type, |
| 202 const EnumerateDevicesCallback& callback); | 206 const EnumerateDevicesCallback& callback); |
| 203 virtual webkit_glue::ClipboardClient* CreateClipboardClient() const; | 207 virtual webkit_glue::ClipboardClient* CreateClipboardClient() const; |
| 204 virtual std::string GetDeviceID(); | 208 virtual std::string GetDeviceID(); |
| 205 }; | 209 }; |
| 206 | 210 |
| 207 } // namespace ppapi | 211 } // namespace ppapi |
| 208 } // namespace webkit | 212 } // namespace webkit |
| 209 | 213 |
| 210 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ | 214 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ |
| OLD | NEW |