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

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

Issue 2394773002: Remove 'char' from IDL (Closed)
Patch Set: Remove 'char' from IDL Created 4 years, 2 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/api/ppb_gamepad.idl ('k') | ppapi/c/pp_input_event.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 /** 6 /**
7 * This file defines the <code>PPB_NetAddress_Private</code> interface. 7 * This file defines the <code>PPB_NetAddress_Private</code> interface.
8 */ 8 */
9 9
10 label Chrome { 10 label Chrome {
(...skipping 19 matching lines...) Expand all
30 PP_NETADDRESSFAMILY_PRIVATE_IPV6 = 2 30 PP_NETADDRESSFAMILY_PRIVATE_IPV6 = 2
31 }; 31 };
32 32
33 /** 33 /**
34 * This is an opaque type holding a network address. Plugins must 34 * This is an opaque type holding a network address. Plugins must
35 * never access members of this struct directly. 35 * never access members of this struct directly.
36 */ 36 */
37 [assert_size(132)] 37 [assert_size(132)]
38 struct PP_NetAddress_Private { 38 struct PP_NetAddress_Private {
39 uint32_t size; 39 uint32_t size;
40 char[128] data; 40 int8_t[128] data;
41 }; 41 };
42 42
43 /** 43 /**
44 * The <code>PPB_NetAddress_Private</code> interface provides operations on 44 * The <code>PPB_NetAddress_Private</code> interface provides operations on
45 * network addresses. 45 * network addresses.
46 */ 46 */
47 [version=0.1] interface PPB_NetAddress_Private { 47 [version=0.1] interface PPB_NetAddress_Private {
48 /** 48 /**
49 * Returns PP_TRUE if the two addresses are equal (host and port). 49 * Returns PP_TRUE if the two addresses are equal (host and port).
50 */ 50 */
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 /** 120 /**
121 * Creates NetAddress with the specified IPv6 address, scope_id and 121 * Creates NetAddress with the specified IPv6 address, scope_id and
122 * port number. 122 * port number.
123 */ 123 */
124 [version=1.1] 124 [version=1.1]
125 void CreateFromIPv6Address([in] uint8_t[16] ip, 125 void CreateFromIPv6Address([in] uint8_t[16] ip,
126 [in] uint32_t scope_id, 126 [in] uint32_t scope_id,
127 [in] uint16_t port, 127 [in] uint16_t port,
128 [out] PP_NetAddress_Private addr_out); 128 [out] PP_NetAddress_Private addr_out);
129 }; 129 };
OLDNEW
« no previous file with comments | « ppapi/api/ppb_gamepad.idl ('k') | ppapi/c/pp_input_event.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698