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

Unified Diff: ppapi/proxy/udp_socket_resource_base.h

Issue 704133005: Pepper: Add support for multicast in PPB_UDPSocket API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix unit tests, thunk code auto generated Created 5 years, 10 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
Index: ppapi/proxy/udp_socket_resource_base.h
diff --git a/ppapi/proxy/udp_socket_resource_base.h b/ppapi/proxy/udp_socket_resource_base.h
index 9e75ae73d95580aaf07f8c478942d0e99b561cfc..61ed66478048d4bf4b503c17b15c1ef753d15f79 100644
--- a/ppapi/proxy/udp_socket_resource_base.h
+++ b/ppapi/proxy/udp_socket_resource_base.h
@@ -73,6 +73,10 @@ class PPAPI_PROXY_EXPORT UDPSocketResourceBase: public PluginResource {
const PP_NetAddress_Private* addr,
scoped_refptr<TrackedCallback> callback);
void CloseImpl();
+ int32_t JoinGroupImpl(const PP_NetAddress_Private *group,
+ scoped_refptr<TrackedCallback> callback);
+ int32_t LeaveGroupImpl(const PP_NetAddress_Private *group,
+ scoped_refptr<TrackedCallback> callback);
private:
struct RecvBuffer {
@@ -88,8 +92,8 @@ class PPAPI_PROXY_EXPORT UDPSocketResourceBase: public PluginResource {
void PostAbortIfNecessary(scoped_refptr<TrackedCallback>* callback);
// IPC message handlers.
- void OnPluginMsgSetOptionReply(scoped_refptr<TrackedCallback> callback,
- const ResourceMessageReplyParams& params);
+ void OnPluginMsgGeneralReply(scoped_refptr<TrackedCallback> callback,
+ const ResourceMessageReplyParams& params);
void OnPluginMsgBindReply(const ResourceMessageReplyParams& params,
const PP_NetAddress_Private& bound_addr);
void OnPluginMsgPushRecvResult(const ResourceMessageReplyParams& params,

Powered by Google App Engine
This is Rietveld 408576698