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

Side by Side Diff: content/renderer/pepper/pepper_plugin_delegate_impl.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 CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ 5 #ifndef CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_
6 #define CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ 6 #define CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after
297 const std::vector<std::vector<char> >& untrusted_certs) OVERRIDE; 297 const std::vector<std::vector<char> >& untrusted_certs) OVERRIDE;
298 virtual void TCPSocketRead(uint32 socket_id, int32_t bytes_to_read) OVERRIDE; 298 virtual void TCPSocketRead(uint32 socket_id, int32_t bytes_to_read) OVERRIDE;
299 virtual void TCPSocketWrite(uint32 socket_id, 299 virtual void TCPSocketWrite(uint32 socket_id,
300 const std::string& buffer) OVERRIDE; 300 const std::string& buffer) OVERRIDE;
301 virtual void TCPSocketDisconnect(uint32 socket_id) OVERRIDE; 301 virtual void TCPSocketDisconnect(uint32 socket_id) OVERRIDE;
302 virtual void RegisterTCPSocket( 302 virtual void RegisterTCPSocket(
303 webkit::ppapi::PPB_TCPSocket_Private_Impl* socket, 303 webkit::ppapi::PPB_TCPSocket_Private_Impl* socket,
304 uint32 socket_id) OVERRIDE; 304 uint32 socket_id) OVERRIDE;
305 305
306 virtual uint32 UDPSocketCreate() OVERRIDE; 306 virtual uint32 UDPSocketCreate() OVERRIDE;
307 virtual void UDPSocketSetBoolSocketFeature(
308 webkit::ppapi::PPB_UDPSocket_Private_Impl* socket,
309 uint32 socket_id,
310 int32_t name,
311 bool value) OVERRIDE;
307 virtual void UDPSocketBind( 312 virtual void UDPSocketBind(
308 webkit::ppapi::PPB_UDPSocket_Private_Impl* socket, 313 webkit::ppapi::PPB_UDPSocket_Private_Impl* socket,
309 uint32 socket_id, 314 uint32 socket_id,
310 const PP_NetAddress_Private& addr) OVERRIDE; 315 const PP_NetAddress_Private& addr) OVERRIDE;
311 virtual void UDPSocketRecvFrom(uint32 socket_id, 316 virtual void UDPSocketRecvFrom(uint32 socket_id,
312 int32_t num_bytes) OVERRIDE; 317 int32_t num_bytes) OVERRIDE;
313 virtual void UDPSocketSendTo(uint32 socket_id, 318 virtual void UDPSocketSendTo(uint32 socket_id,
314 const std::string& buffer, 319 const std::string& buffer,
315 const PP_NetAddress_Private& addr) OVERRIDE; 320 const PP_NetAddress_Private& addr) OVERRIDE;
316 virtual void UDPSocketClose(uint32 socket_id) OVERRIDE; 321 virtual void UDPSocketClose(uint32 socket_id) OVERRIDE;
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
522 527
523 scoped_ptr<PepperDeviceEnumerationEventHandler> 528 scoped_ptr<PepperDeviceEnumerationEventHandler>
524 device_enumeration_event_handler_; 529 device_enumeration_event_handler_;
525 530
526 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); 531 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl);
527 }; 532 };
528 533
529 } // namespace content 534 } // namespace content
530 535
531 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ 536 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/pepper/pepper_udp_socket.cc ('k') | content/renderer/pepper/pepper_plugin_delegate_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698