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

Side by Side Diff: ppapi/api/private/ppb_tcp_socket_private.idl

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
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 /** 6 /**
7 * This file defines the <code>PPB_TCPSocket_Private</code> interface. 7 * This file defines the <code>PPB_TCPSocket_Private</code> interface.
8 */ 8 */
9 9
10 label Chrome { 10 label Chrome {
11 M17 = 0.3, 11 M17 = 0.3,
12 M20 = 0.4, 12 M20 = 0.4,
13 M27 = 0.5 13 M27 = 0.5
14 }; 14 };
15 15
16 [assert_size(4)] 16 [assert_size(4)]
17 enum PP_TCPSocketOption_Private { 17 enum PP_TCPSocketOption_Private {
18 // Special value used for testing. Guaranteed to fail SetOption(). 18 // Special value used for testing. Guaranteed to fail SetOption().
19 PP_TCPSOCKETOPTION_INVALID = 0, 19 PP_TCPSOCKETOPTION_PRIVATE_INVALID = 0,
20 20
21 // Disable coalescing of small writes to make TCP segments, and instead 21 // Disable coalescing of small writes to make TCP segments, and instead
22 // deliver data immediately. For SSL sockets, this option must be set before 22 // deliver data immediately. For SSL sockets, this option must be set before
23 // SSLHandshake() is called. Value type is PP_VARTYPE_BOOL. 23 // SSLHandshake() is called. Value type is PP_VARTYPE_BOOL.
24 PP_TCPSOCKETOPTION_NO_DELAY = 1 24 PP_TCPSOCKETOPTION_PRIVATE_NO_DELAY = 1
25 }; 25 };
26 26
27 /** 27 /**
28 * The <code>PPB_TCPSocket_Private</code> interface provides TCP socket 28 * The <code>PPB_TCPSocket_Private</code> interface provides TCP socket
29 * operations. 29 * operations.
30 */ 30 */
31 interface PPB_TCPSocket_Private { 31 interface PPB_TCPSocket_Private {
32 /** 32 /**
33 * Allocates a TCP socket resource. 33 * Allocates a TCP socket resource.
34 */ 34 */
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 * invoked with PP_OK if setting the option succeeds, or an error code 153 * invoked with PP_OK if setting the option succeeds, or an error code
154 * otherwise. The socket must be connection before SetOption is called. 154 * otherwise. The socket must be connection before SetOption is called.
155 */ 155 */
156 [version=0.5] 156 [version=0.5]
157 int32_t SetOption([in] PP_Resource tcp_socket, 157 int32_t SetOption([in] PP_Resource tcp_socket,
158 [in] PP_TCPSocketOption_Private name, 158 [in] PP_TCPSocketOption_Private name,
159 [in] PP_Var value, 159 [in] PP_Var value,
160 [in] PP_CompletionCallback callback); 160 [in] PP_CompletionCallback callback);
161 161
162 }; 162 };
OLDNEW
« no previous file with comments | « ppapi/api/private/ppb_net_address_private.idl ('k') | ppapi/api/private/ppb_udp_socket_private.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698