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

Side by Side Diff: ppapi/c/private/ppb_tcp_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, 6 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_net_address_private.h ('k') | ppapi/c/private/ppb_udp_socket_private.h » ('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_tcp_socket_private.idl modified Sun Feb 10 00:28:07 2013. */ 6 /* From private/ppb_tcp_socket_private.idl modified Mon Jun 24 09:53:12 2013. */
7 7
8 #ifndef PPAPI_C_PRIVATE_PPB_TCP_SOCKET_PRIVATE_H_ 8 #ifndef PPAPI_C_PRIVATE_PPB_TCP_SOCKET_PRIVATE_H_
9 #define PPAPI_C_PRIVATE_PPB_TCP_SOCKET_PRIVATE_H_ 9 #define PPAPI_C_PRIVATE_PPB_TCP_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 10 matching lines...) Expand all
27 * This file defines the <code>PPB_TCPSocket_Private</code> interface. 27 * This file defines the <code>PPB_TCPSocket_Private</code> interface.
28 */ 28 */
29 29
30 30
31 /** 31 /**
32 * @addtogroup Enums 32 * @addtogroup Enums
33 * @{ 33 * @{
34 */ 34 */
35 typedef enum { 35 typedef enum {
36 /* Special value used for testing. Guaranteed to fail SetOption(). */ 36 /* Special value used for testing. Guaranteed to fail SetOption(). */
37 PP_TCPSOCKETOPTION_INVALID = 0, 37 PP_TCPSOCKETOPTION_PRIVATE_INVALID = 0,
38 /* Disable coalescing of small writes to make TCP segments, and instead 38 /* Disable coalescing of small writes to make TCP segments, and instead
39 * deliver data immediately. For SSL sockets, this option must be set before 39 * deliver data immediately. For SSL sockets, this option must be set before
40 * SSLHandshake() is called. Value type is PP_VARTYPE_BOOL. */ 40 * SSLHandshake() is called. Value type is PP_VARTYPE_BOOL. */
41 PP_TCPSOCKETOPTION_NO_DELAY = 1 41 PP_TCPSOCKETOPTION_PRIVATE_NO_DELAY = 1
42 } PP_TCPSocketOption_Private; 42 } PP_TCPSocketOption_Private;
43 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_TCPSocketOption_Private, 4); 43 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_TCPSocketOption_Private, 4);
44 /** 44 /**
45 * @} 45 * @}
46 */ 46 */
47 47
48 /** 48 /**
49 * @addtogroup Interfaces 49 * @addtogroup Interfaces
50 * @{ 50 * @{
51 */ 51 */
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 int32_t bytes_to_write, 232 int32_t bytes_to_write,
233 struct PP_CompletionCallback callback); 233 struct PP_CompletionCallback callback);
234 void (*Disconnect)(PP_Resource tcp_socket); 234 void (*Disconnect)(PP_Resource tcp_socket);
235 }; 235 };
236 /** 236 /**
237 * @} 237 * @}
238 */ 238 */
239 239
240 #endif /* PPAPI_C_PRIVATE_PPB_TCP_SOCKET_PRIVATE_H_ */ 240 #endif /* PPAPI_C_PRIVATE_PPB_TCP_SOCKET_PRIVATE_H_ */
241 241
OLDNEW
« no previous file with comments | « ppapi/c/private/ppb_net_address_private.h ('k') | ppapi/c/private/ppb_udp_socket_private.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698