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

Side by Side Diff: ppapi/c/private/ppb_udp_socket_private.h

Issue 17615004: Add "PRIVATE" to the enum names of some private Pepper networking APIs: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « ppapi/c/private/ppb_tcp_socket_private.h ('k') | ppapi/cpp/private/net_address_private.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 (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 5
6 /* From private/ppb_udp_socket_private.idl modified Thu Aug 23 12:32:12 2012. */ 6 /* From private/ppb_udp_socket_private.idl modified Mon Jun 24 09:53:43 2013. */
7 7
8 #ifndef PPAPI_C_PRIVATE_PPB_UDP_SOCKET_PRIVATE_H_ 8 #ifndef PPAPI_C_PRIVATE_PPB_UDP_SOCKET_PRIVATE_H_
9 #define PPAPI_C_PRIVATE_PPB_UDP_SOCKET_PRIVATE_H_ 9 #define PPAPI_C_PRIVATE_PPB_UDP_SOCKET_PRIVATE_H_
10 10
11 #include "ppapi/c/pp_bool.h" 11 #include "ppapi/c/pp_bool.h"
12 #include "ppapi/c/pp_completion_callback.h" 12 #include "ppapi/c/pp_completion_callback.h"
13 #include "ppapi/c/pp_instance.h" 13 #include "ppapi/c/pp_instance.h"
14 #include "ppapi/c/pp_macros.h" 14 #include "ppapi/c/pp_macros.h"
15 #include "ppapi/c/pp_resource.h" 15 #include "ppapi/c/pp_resource.h"
16 #include "ppapi/c/pp_stdint.h" 16 #include "ppapi/c/pp_stdint.h"
(...skipping 12 matching lines...) Expand all
29 29
30 30
31 /** 31 /**
32 * @addtogroup Enums 32 * @addtogroup Enums
33 * @{ 33 * @{
34 */ 34 */
35 typedef enum { 35 typedef enum {
36 /* Allow the socket to share the local address to which socket will 36 /* Allow the socket to share the local address to which socket will
37 * be bound with other processes. Value's type should be 37 * be bound with other processes. Value's type should be
38 * PP_VARTYPE_BOOL. */ 38 * PP_VARTYPE_BOOL. */
39 PP_UDPSOCKETFEATURE_ADDRESS_REUSE = 0, 39 PP_UDPSOCKETFEATURE_PRIVATE_ADDRESS_REUSE = 0,
40 /* Allow sending and receiving packets sent to and from broadcast 40 /* Allow sending and receiving packets sent to and from broadcast
41 * addresses. Value's type should be PP_VARTYPE_BOOL. */ 41 * addresses. Value's type should be PP_VARTYPE_BOOL. */
42 PP_UDPSOCKETFEATURE_BROADCAST = 1, 42 PP_UDPSOCKETFEATURE_PRIVATE_BROADCAST = 1,
43 /* Special value for counting the number of available 43 /* Special value for counting the number of available
44 * features. Should not be passed to SetSocketFeature(). */ 44 * features. Should not be passed to SetSocketFeature(). */
45 PP_UDPSOCKETFEATURE_COUNT = 2 45 PP_UDPSOCKETFEATURE_PRIVATE_COUNT = 2
46 } PP_UDPSocketFeature_Private; 46 } PP_UDPSocketFeature_Private;
47 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_UDPSocketFeature_Private, 4); 47 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_UDPSocketFeature_Private, 4);
48 /** 48 /**
49 * @} 49 * @}
50 */ 50 */
51 51
52 /** 52 /**
53 * @addtogroup Interfaces 53 * @addtogroup Interfaces
54 * @{ 54 * @{
55 */ 55 */
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 const struct PP_NetAddress_Private* addr, 153 const struct PP_NetAddress_Private* addr,
154 struct PP_CompletionCallback callback); 154 struct PP_CompletionCallback callback);
155 void (*Close)(PP_Resource udp_socket); 155 void (*Close)(PP_Resource udp_socket);
156 }; 156 };
157 /** 157 /**
158 * @} 158 * @}
159 */ 159 */
160 160
161 #endif /* PPAPI_C_PRIVATE_PPB_UDP_SOCKET_PRIVATE_H_ */ 161 #endif /* PPAPI_C_PRIVATE_PPB_UDP_SOCKET_PRIVATE_H_ */
162 162
OLDNEW
« no previous file with comments | « ppapi/c/private/ppb_tcp_socket_private.h ('k') | ppapi/cpp/private/net_address_private.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698