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

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

Issue 9669038: Added out-of-process support for server sockets. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Sync. Created 8 years, 9 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 | « ppapi/thunk/interfaces_ppb_private.h ('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 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 uint32 socket_id); 128 uint32 socket_id);
129 virtual uint32 UDPSocketCreate(); 129 virtual uint32 UDPSocketCreate();
130 virtual void UDPSocketBind(PPB_UDPSocket_Private_Impl* socket, 130 virtual void UDPSocketBind(PPB_UDPSocket_Private_Impl* socket,
131 uint32 socket_id, 131 uint32 socket_id,
132 const PP_NetAddress_Private& addr); 132 const PP_NetAddress_Private& addr);
133 virtual void UDPSocketRecvFrom(uint32 socket_id, int32_t num_bytes); 133 virtual void UDPSocketRecvFrom(uint32 socket_id, int32_t num_bytes);
134 virtual void UDPSocketSendTo(uint32 socket_id, 134 virtual void UDPSocketSendTo(uint32 socket_id,
135 const std::string& buffer, 135 const std::string& buffer,
136 const PP_NetAddress_Private& addr); 136 const PP_NetAddress_Private& addr);
137 virtual void UDPSocketClose(uint32 socket_id); 137 virtual void UDPSocketClose(uint32 socket_id);
138 virtual void TCPServerSocketListen(PPB_TCPServerSocket_Private_Impl* socket, 138 virtual void TCPServerSocketListen(PP_Resource socket_resource,
139 uint32 temp_socket_id,
140 const PP_NetAddress_Private& addr, 139 const PP_NetAddress_Private& addr,
141 int32_t backlog); 140 int32_t backlog);
142 virtual void TCPServerSocketAccept(uint32 real_socket_id); 141 virtual void TCPServerSocketAccept(uint32 server_socket_id);
143 virtual void TCPServerSocketStopListening(uint32 real_socket_id, 142 virtual void TCPServerSocketStopListening(PP_Resource socket_resource,
144 uint32 temp_socket_id); 143 uint32 socket_id);
145 virtual void RegisterHostResolver( 144 virtual void RegisterHostResolver(
146 ::ppapi::PPB_HostResolver_Shared* host_resolver, 145 ::ppapi::PPB_HostResolver_Shared* host_resolver,
147 uint32 host_resolver_id); 146 uint32 host_resolver_id);
148 virtual void HostResolverResolve( 147 virtual void HostResolverResolve(
149 uint32 host_resolver_id, 148 uint32 host_resolver_id,
150 const ::ppapi::HostPortPair& host_port, 149 const ::ppapi::HostPortPair& host_port,
151 const PP_HostResolver_Private_Hint* hint); 150 const PP_HostResolver_Private_Hint* hint);
152 virtual void UnregisterHostResolver(uint32 host_resolver_id); 151 virtual void UnregisterHostResolver(uint32 host_resolver_id);
153 // Add/remove a network list observer. 152 // Add/remove a network list observer.
154 virtual bool AddNetworkListObserver( 153 virtual bool AddNetworkListObserver(
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 virtual bool IsPageVisible() const; 185 virtual bool IsPageVisible() const;
187 virtual int EnumerateDevices(PP_DeviceType_Dev type, 186 virtual int EnumerateDevices(PP_DeviceType_Dev type,
188 const EnumerateDevicesCallback& callback); 187 const EnumerateDevicesCallback& callback);
189 virtual webkit_glue::ClipboardClient* CreateClipboardClient() const; 188 virtual webkit_glue::ClipboardClient* CreateClipboardClient() const;
190 }; 189 };
191 190
192 } // namespace ppapi 191 } // namespace ppapi
193 } // namespace webkit 192 } // namespace webkit
194 193
195 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ 194 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_
OLDNEW
« no previous file with comments | « ppapi/thunk/interfaces_ppb_private.h ('k') | webkit/plugins/ppapi/mock_plugin_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698