OLD | NEW |
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_host_resolver_private.idl, | 6 /* From private/ppb_host_resolver_private.idl, |
7 * modified Mon Mar 5 17:39:57 2012. | 7 * modified Mon Jun 24 09:49:40 2013. |
8 */ | 8 */ |
9 | 9 |
10 #ifndef PPAPI_C_PRIVATE_PPB_HOST_RESOLVER_PRIVATE_H_ | 10 #ifndef PPAPI_C_PRIVATE_PPB_HOST_RESOLVER_PRIVATE_H_ |
11 #define PPAPI_C_PRIVATE_PPB_HOST_RESOLVER_PRIVATE_H_ | 11 #define PPAPI_C_PRIVATE_PPB_HOST_RESOLVER_PRIVATE_H_ |
12 | 12 |
13 #include "ppapi/c/pp_bool.h" | 13 #include "ppapi/c/pp_bool.h" |
14 #include "ppapi/c/pp_completion_callback.h" | 14 #include "ppapi/c/pp_completion_callback.h" |
15 #include "ppapi/c/pp_instance.h" | 15 #include "ppapi/c/pp_instance.h" |
16 #include "ppapi/c/pp_macros.h" | 16 #include "ppapi/c/pp_macros.h" |
17 #include "ppapi/c/pp_resource.h" | 17 #include "ppapi/c/pp_resource.h" |
(...skipping 17 matching lines...) Expand all Loading... |
35 */ | 35 */ |
36 /** | 36 /** |
37 * The <code>PP_HostResolver_Flags</code> is an enumeration of the | 37 * The <code>PP_HostResolver_Flags</code> is an enumeration of the |
38 * different types of flags, that can be OR-ed and passed to host | 38 * different types of flags, that can be OR-ed and passed to host |
39 * resolver. | 39 * resolver. |
40 */ | 40 */ |
41 typedef enum { | 41 typedef enum { |
42 /** | 42 /** |
43 * AI_CANONNAME | 43 * AI_CANONNAME |
44 */ | 44 */ |
45 PP_HOST_RESOLVER_FLAGS_CANONNAME = 1 << 0, | 45 PP_HOST_RESOLVER_PRIVATE_FLAGS_CANONNAME = 1 << 0, |
46 /** | 46 /** |
47 * Hint to the resolver that only loopback addresses are configured. | 47 * Hint to the resolver that only loopback addresses are configured. |
48 */ | 48 */ |
49 PP_HOST_RESOLVER_FLAGS_LOOPBACK_ONLY = 1 << 1 | 49 PP_HOST_RESOLVER_PRIVATE_FLAGS_LOOPBACK_ONLY = 1 << 1 |
50 } PP_HostResolver_Private_Flags; | 50 } PP_HostResolver_Private_Flags; |
51 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_HostResolver_Private_Flags, 4); | 51 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_HostResolver_Private_Flags, 4); |
52 /** | 52 /** |
53 * @} | 53 * @} |
54 */ | 54 */ |
55 | 55 |
56 /** | 56 /** |
57 * @addtogroup Structs | 57 * @addtogroup Structs |
58 * @{ | 58 * @{ |
59 */ | 59 */ |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 struct PP_NetAddress_Private* addr); | 109 struct PP_NetAddress_Private* addr); |
110 }; | 110 }; |
111 | 111 |
112 typedef struct PPB_HostResolver_Private_0_1 PPB_HostResolver_Private; | 112 typedef struct PPB_HostResolver_Private_0_1 PPB_HostResolver_Private; |
113 /** | 113 /** |
114 * @} | 114 * @} |
115 */ | 115 */ |
116 | 116 |
117 #endif /* PPAPI_C_PRIVATE_PPB_HOST_RESOLVER_PRIVATE_H_ */ | 117 #endif /* PPAPI_C_PRIVATE_PPB_HOST_RESOLVER_PRIVATE_H_ */ |
118 | 118 |
OLD | NEW |