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

Side by Side Diff: ppapi/api/private/ppb_host_resolver_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_HostResolver_Private</code> interface. 7 * This file defines the <code>PPB_HostResolver_Private</code> interface.
8 */ 8 */
9 9
10 label Chrome { 10 label Chrome {
11 M19 = 0.1 11 M19 = 0.1
12 }; 12 };
13 13
14 /** 14 /**
15 * The <code>PP_HostResolver_Flags</code> is an enumeration of the 15 * The <code>PP_HostResolver_Flags</code> is an enumeration of the
16 * different types of flags, that can be OR-ed and passed to host 16 * different types of flags, that can be OR-ed and passed to host
17 * resolver. 17 * resolver.
18 */ 18 */
19 [assert_size(4)] 19 [assert_size(4)]
20 enum PP_HostResolver_Private_Flags { 20 enum PP_HostResolver_Private_Flags {
21 /** 21 /**
22 * AI_CANONNAME 22 * AI_CANONNAME
23 */ 23 */
24 PP_HOST_RESOLVER_FLAGS_CANONNAME = 1 << 0, 24 PP_HOST_RESOLVER_PRIVATE_FLAGS_CANONNAME = 1 << 0,
25 /** 25 /**
26 * Hint to the resolver that only loopback addresses are configured. 26 * Hint to the resolver that only loopback addresses are configured.
27 */ 27 */
28 PP_HOST_RESOLVER_FLAGS_LOOPBACK_ONLY = 1 << 1 28 PP_HOST_RESOLVER_PRIVATE_FLAGS_LOOPBACK_ONLY = 1 << 1
29 }; 29 };
30 30
31 [assert_size(8)] 31 [assert_size(8)]
32 struct PP_HostResolver_Private_Hint { 32 struct PP_HostResolver_Private_Hint {
33 PP_NetAddressFamily_Private family; 33 PP_NetAddressFamily_Private family;
34 int32_t flags; 34 int32_t flags;
35 }; 35 };
36 36
37 interface PPB_HostResolver_Private { 37 interface PPB_HostResolver_Private {
38 /** 38 /**
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 /** 70 /**
71 * Stores in the |addr| |index|-th network address. |addr| can't be 71 * Stores in the |addr| |index|-th network address. |addr| can't be
72 * NULL. Returns PP_TRUE if success or PP_FALSE if the given 72 * NULL. Returns PP_TRUE if success or PP_FALSE if the given
73 * resource is not a Host Resolver or |index| exceeds number of 73 * resource is not a Host Resolver or |index| exceeds number of
74 * available addresses. 74 * available addresses.
75 */ 75 */
76 PP_Bool GetNetAddress([in] PP_Resource host_resolver, 76 PP_Bool GetNetAddress([in] PP_Resource host_resolver,
77 [in] uint32_t index, 77 [in] uint32_t index,
78 [out] PP_NetAddress_Private addr); 78 [out] PP_NetAddress_Private addr);
79 }; 79 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698