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

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

Issue 8357030: Add private Pepper API for dealing with PP_Flash_NetAddress. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: oops Created 9 years, 1 month 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/api/private/ppb_flash_net_address.idl ('k') | ppapi/c/private/ppb_flash_net_address.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) 2011 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2011 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_Flash_TCPSocket</code> interface. 7 * This file defines the <code>PPB_Flash_TCPSocket</code> interface.
8 */ 8 */
9 9
10 label Chrome { 10 label Chrome {
11 M15 = 0.2 11 M15 = 0.2
12 }; 12 };
13 13
14 /** 14 /**
15 * This is an opaque type holding a network address.
16 */
17 [assert_size(132)]
18 struct PP_Flash_NetAddress {
19 uint32_t size;
20 char[128] data;
21 };
22
23 /**
24 * The <code>PPB_Flash_TCPSocket</code> interface provides TCP socket 15 * The <code>PPB_Flash_TCPSocket</code> interface provides TCP socket
25 * operations. 16 * operations.
26 */ 17 */
27 interface PPB_Flash_TCPSocket { 18 interface PPB_Flash_TCPSocket {
28 /** 19 /**
29 * Allocates a TCP socket resource. 20 * Allocates a TCP socket resource.
30 */ 21 */
31 PP_Resource Create([in] PP_Instance instance); 22 PP_Resource Create([in] PP_Instance instance);
32 23
33 /** 24 /**
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 /** 105 /**
115 * Cancels any IO that may be pending, and disconnects the socket. Any pending 106 * Cancels any IO that may be pending, and disconnects the socket. Any pending
116 * callbacks will still run, reporting PP_Error_Aborted if pending IO was 107 * callbacks will still run, reporting PP_Error_Aborted if pending IO was
117 * interrupted. It is NOT valid to call Connect() again after a call to this 108 * interrupted. It is NOT valid to call Connect() again after a call to this
118 * method. Note: If the socket is destroyed when it is still connected, then 109 * method. Note: If the socket is destroyed when it is still connected, then
119 * it will be implicitly disconnected, so you are not required to call this 110 * it will be implicitly disconnected, so you are not required to call this
120 * method. 111 * method.
121 */ 112 */
122 void Disconnect([in] PP_Resource tcp_socket); 113 void Disconnect([in] PP_Resource tcp_socket);
123 }; 114 };
124
OLDNEW
« no previous file with comments | « ppapi/api/private/ppb_flash_net_address.idl ('k') | ppapi/c/private/ppb_flash_net_address.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698