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

Unified Diff: ppapi/cpp/private/udp_socket_private.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, 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/c/private/ppb_udp_socket_private.h ('k') | ppapi/cpp/private/udp_socket_private.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/cpp/private/udp_socket_private.h
diff --git a/ppapi/cpp/private/udp_socket_private.h b/ppapi/cpp/private/udp_socket_private.h
index 5179e721e9afb54f7055f5be1cc7a34513dfe7e6..34e06a906a0970a06beeb970b3618cde5711a1ca 100644
--- a/ppapi/cpp/private/udp_socket_private.h
+++ b/ppapi/cpp/private/udp_socket_private.h
@@ -13,6 +13,7 @@ namespace pp {
class CompletionCallback;
class InstanceHandle;
+class Var;
class UDPSocketPrivate : public Resource {
public:
@@ -21,6 +22,7 @@ class UDPSocketPrivate : public Resource {
// Returns true if the required interface is available.
static bool IsAvailable();
+ int32_t SetSocketFeature(PP_UDPSocketFeature_Private name, const Var& value);
int32_t Bind(const PP_NetAddress_Private* addr,
const CompletionCallback& callback);
bool GetBoundAddress(PP_NetAddress_Private* addr);
« no previous file with comments | « ppapi/c/private/ppb_udp_socket_private.h ('k') | ppapi/cpp/private/udp_socket_private.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698