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

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

Issue 10735056: AllowBroadcast() is exposed to NaCl. (Closed) Base URL: http://git.chromium.org/chromium/src.git@udp_broadcast
Patch Set: Sync. Created 8 years, 3 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
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 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 const std::string& server_name, 134 const std::string& server_name,
135 uint16_t server_port, 135 uint16_t server_port,
136 const std::vector<std::vector<char> >& trusted_certs, 136 const std::vector<std::vector<char> >& trusted_certs,
137 const std::vector<std::vector<char> >& untrusted_certs); 137 const std::vector<std::vector<char> >& untrusted_certs);
138 virtual void TCPSocketRead(uint32 socket_id, int32_t bytes_to_read); 138 virtual void TCPSocketRead(uint32 socket_id, int32_t bytes_to_read);
139 virtual void TCPSocketWrite(uint32 socket_id, const std::string& buffer); 139 virtual void TCPSocketWrite(uint32 socket_id, const std::string& buffer);
140 virtual void TCPSocketDisconnect(uint32 socket_id); 140 virtual void TCPSocketDisconnect(uint32 socket_id);
141 virtual void RegisterTCPSocket(PPB_TCPSocket_Private_Impl* socket, 141 virtual void RegisterTCPSocket(PPB_TCPSocket_Private_Impl* socket,
142 uint32 socket_id); 142 uint32 socket_id);
143 virtual uint32 UDPSocketCreate(); 143 virtual uint32 UDPSocketCreate();
144 virtual void UDPSocketSetBoolSocketFeature(PPB_UDPSocket_Private_Impl* socket,
145 uint32 socket_id,
146 int32_t name,
147 bool value);
144 virtual void UDPSocketBind(PPB_UDPSocket_Private_Impl* socket, 148 virtual void UDPSocketBind(PPB_UDPSocket_Private_Impl* socket,
145 uint32 socket_id, 149 uint32 socket_id,
146 const PP_NetAddress_Private& addr); 150 const PP_NetAddress_Private& addr);
147 virtual void UDPSocketRecvFrom(uint32 socket_id, int32_t num_bytes); 151 virtual void UDPSocketRecvFrom(uint32 socket_id, int32_t num_bytes);
148 virtual void UDPSocketSendTo(uint32 socket_id, 152 virtual void UDPSocketSendTo(uint32 socket_id,
149 const std::string& buffer, 153 const std::string& buffer,
150 const PP_NetAddress_Private& addr); 154 const PP_NetAddress_Private& addr);
151 virtual void UDPSocketClose(uint32 socket_id); 155 virtual void UDPSocketClose(uint32 socket_id);
152 virtual void TCPServerSocketListen(PP_Resource socket_resource, 156 virtual void TCPServerSocketListen(PP_Resource socket_resource,
153 const PP_NetAddress_Private& addr, 157 const PP_NetAddress_Private& addr,
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 virtual std::string GetDeviceID(); 210 virtual std::string GetDeviceID();
207 virtual PP_FlashLSORestrictions GetLocalDataRestrictions( 211 virtual PP_FlashLSORestrictions GetLocalDataRestrictions(
208 const GURL& document_url, 212 const GURL& document_url,
209 const GURL& plugin_url); 213 const GURL& plugin_url);
210 }; 214 };
211 215
212 } // namespace ppapi 216 } // namespace ppapi
213 } // namespace webkit 217 } // namespace webkit
214 218
215 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ 219 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_
OLDNEW
« no previous file with comments | « ppapi/thunk/ppb_udp_socket_private_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