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

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: Deleted callbacks. Created 8 years, 4 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 282 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 const std::vector<std::vector<char> >& untrusted_certs) OVERRIDE; 293 const std::vector<std::vector<char> >& untrusted_certs) OVERRIDE;
294 virtual void TCPSocketRead(uint32 socket_id, int32_t bytes_to_read) OVERRIDE; 294 virtual void TCPSocketRead(uint32 socket_id, int32_t bytes_to_read) OVERRIDE;
295 virtual void TCPSocketWrite(uint32 socket_id, 295 virtual void TCPSocketWrite(uint32 socket_id,
296 const std::string& buffer) OVERRIDE; 296 const std::string& buffer) OVERRIDE;
297 virtual void TCPSocketDisconnect(uint32 socket_id) OVERRIDE; 297 virtual void TCPSocketDisconnect(uint32 socket_id) OVERRIDE;
298 virtual void RegisterTCPSocket( 298 virtual void RegisterTCPSocket(
299 webkit::ppapi::PPB_TCPSocket_Private_Impl* socket, 299 webkit::ppapi::PPB_TCPSocket_Private_Impl* socket,
300 uint32 socket_id) OVERRIDE; 300 uint32 socket_id) OVERRIDE;
301 301
302 virtual uint32 UDPSocketCreate() OVERRIDE; 302 virtual uint32 UDPSocketCreate() OVERRIDE;
303 virtual void UDPSocketSetSocketFeature(
304 webkit::ppapi::PPB_UDPSocket_Private_Impl* socket,
305 uint32 socket_id,
306 PP_UDPSocketFeature_Private name,
307 PP_Var value) OVERRIDE;
303 virtual void UDPSocketBind( 308 virtual void UDPSocketBind(
304 webkit::ppapi::PPB_UDPSocket_Private_Impl* socket, 309 webkit::ppapi::PPB_UDPSocket_Private_Impl* socket,
305 uint32 socket_id, 310 uint32 socket_id,
306 const PP_NetAddress_Private& addr) OVERRIDE; 311 const PP_NetAddress_Private& addr) OVERRIDE;
307 virtual void UDPSocketRecvFrom(uint32 socket_id, 312 virtual void UDPSocketRecvFrom(uint32 socket_id,
308 int32_t num_bytes) OVERRIDE; 313 int32_t num_bytes) OVERRIDE;
309 virtual void UDPSocketSendTo(uint32 socket_id, 314 virtual void UDPSocketSendTo(uint32 socket_id,
310 const std::string& buffer, 315 const std::string& buffer,
311 const PP_NetAddress_Private& addr) OVERRIDE; 316 const PP_NetAddress_Private& addr) OVERRIDE;
312 virtual void UDPSocketClose(uint32 socket_id) OVERRIDE; 317 virtual void UDPSocketClose(uint32 socket_id) OVERRIDE;
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
514 519
515 scoped_ptr<PepperDeviceEnumerationEventHandler> 520 scoped_ptr<PepperDeviceEnumerationEventHandler>
516 device_enumeration_event_handler_; 521 device_enumeration_event_handler_;
517 522
518 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); 523 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl);
519 }; 524 };
520 525
521 } // namespace content 526 } // namespace content
522 527
523 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ 528 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698