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

Side by Side Diff: ppapi/proxy/udp_socket_resource.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 typo: SetMulticastInterface -> SetMulticastTimeToLive Created 5 years, 9 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
« no previous file with comments | « ppapi/proxy/ppapi_messages.h ('k') | ppapi/proxy/udp_socket_resource.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 PPAPI_PROXY_UDP_SOCKET_RESOURCE_H_ 5 #ifndef PPAPI_PROXY_UDP_SOCKET_RESOURCE_H_
6 #define PPAPI_PROXY_UDP_SOCKET_RESOURCE_H_ 6 #define PPAPI_PROXY_UDP_SOCKET_RESOURCE_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "ppapi/proxy/ppapi_proxy_export.h" 10 #include "ppapi/proxy/ppapi_proxy_export.h"
(...skipping 22 matching lines...) Expand all
33 scoped_refptr<TrackedCallback> callback) override; 33 scoped_refptr<TrackedCallback> callback) override;
34 virtual int32_t SendTo(const char* buffer, 34 virtual int32_t SendTo(const char* buffer,
35 int32_t num_bytes, 35 int32_t num_bytes,
36 PP_Resource addr, 36 PP_Resource addr,
37 scoped_refptr<TrackedCallback> callback) override; 37 scoped_refptr<TrackedCallback> callback) override;
38 virtual void Close() override; 38 virtual void Close() override;
39 virtual int32_t SetOption1_0( 39 virtual int32_t SetOption1_0(
40 PP_UDPSocket_Option name, 40 PP_UDPSocket_Option name,
41 const PP_Var& value, 41 const PP_Var& value,
42 scoped_refptr<TrackedCallback> callback) override; 42 scoped_refptr<TrackedCallback> callback) override;
43 virtual int32_t SetOption1_1(
44 PP_UDPSocket_Option name,
45 const PP_Var& value,
46 scoped_refptr<TrackedCallback> callback) override;
43 virtual int32_t SetOption(PP_UDPSocket_Option name, 47 virtual int32_t SetOption(PP_UDPSocket_Option name,
44 const PP_Var& value, 48 const PP_Var& value,
45 scoped_refptr<TrackedCallback> callback) override; 49 scoped_refptr<TrackedCallback> callback) override;
50 virtual int32_t JoinGroup(PP_Resource group,
51 scoped_refptr<TrackedCallback> callback) override;
52 virtual int32_t LeaveGroup(PP_Resource group,
53 scoped_refptr<TrackedCallback> callback) override;
46 54
47 private: 55 private:
48 DISALLOW_COPY_AND_ASSIGN(UDPSocketResource); 56 DISALLOW_COPY_AND_ASSIGN(UDPSocketResource);
49 }; 57 };
50 58
51 } // namespace proxy 59 } // namespace proxy
52 } // namespace ppapi 60 } // namespace ppapi
53 61
54 #endif // PPAPI_PROXY_UDP_SOCKET_RESOURCE_H_ 62 #endif // PPAPI_PROXY_UDP_SOCKET_RESOURCE_H_
OLDNEW
« no previous file with comments | « ppapi/proxy/ppapi_messages.h ('k') | ppapi/proxy/udp_socket_resource.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698