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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 bool recursive); | 97 bool recursive); |
98 virtual base::PlatformFileError CreateDir(const PepperFilePath& path); | 98 virtual base::PlatformFileError CreateDir(const PepperFilePath& path); |
99 virtual base::PlatformFileError QueryFile(const PepperFilePath& path, | 99 virtual base::PlatformFileError QueryFile(const PepperFilePath& path, |
100 base::PlatformFileInfo* info); | 100 base::PlatformFileInfo* info); |
101 virtual base::PlatformFileError GetDirContents(const PepperFilePath& path, | 101 virtual base::PlatformFileError GetDirContents(const PepperFilePath& path, |
102 DirContents* contents); | 102 DirContents* contents); |
103 virtual void SyncGetFileSystemPlatformPath(const GURL& url, | 103 virtual void SyncGetFileSystemPlatformPath(const GURL& url, |
104 FilePath* platform_path); | 104 FilePath* platform_path); |
105 virtual scoped_refptr<base::MessageLoopProxy> | 105 virtual scoped_refptr<base::MessageLoopProxy> |
106 GetFileThreadMessageLoopProxy(); | 106 GetFileThreadMessageLoopProxy(); |
107 virtual int32_t ConnectTcp( | |
108 webkit::ppapi::PPB_Flash_NetConnector_Impl* connector, | |
109 const char* host, | |
110 uint16_t port); | |
111 virtual int32_t ConnectTcpAddress( | |
112 webkit::ppapi::PPB_Flash_NetConnector_Impl* connector, | |
113 const PP_NetAddress_Private* addr); | |
114 virtual uint32 TCPSocketCreate(); | 107 virtual uint32 TCPSocketCreate(); |
115 virtual void TCPSocketConnect(PPB_TCPSocket_Private_Impl* socket, | 108 virtual void TCPSocketConnect(PPB_TCPSocket_Private_Impl* socket, |
116 uint32 socket_id, | 109 uint32 socket_id, |
117 const std::string& host, | 110 const std::string& host, |
118 uint16_t port); | 111 uint16_t port); |
119 virtual void TCPSocketConnectWithNetAddress( | 112 virtual void TCPSocketConnectWithNetAddress( |
120 PPB_TCPSocket_Private_Impl* socket, | 113 PPB_TCPSocket_Private_Impl* socket, |
121 uint32 socket_id, | 114 uint32 socket_id, |
122 const PP_NetAddress_Private& addr); | 115 const PP_NetAddress_Private& addr); |
123 virtual void TCPSocketSSLHandshake(uint32 socket_id, | 116 virtual void TCPSocketSSLHandshake(uint32 socket_id, |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 virtual bool IsPageVisible() const; | 180 virtual bool IsPageVisible() const; |
188 virtual int EnumerateDevices(PP_DeviceType_Dev type, | 181 virtual int EnumerateDevices(PP_DeviceType_Dev type, |
189 const EnumerateDevicesCallback& callback); | 182 const EnumerateDevicesCallback& callback); |
190 virtual webkit_glue::ClipboardClient* CreateClipboardClient() const; | 183 virtual webkit_glue::ClipboardClient* CreateClipboardClient() const; |
191 }; | 184 }; |
192 | 185 |
193 } // namespace ppapi | 186 } // namespace ppapi |
194 } // namespace webkit | 187 } // namespace webkit |
195 | 188 |
196 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ | 189 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ |
OLD | NEW |