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 #ifndef PPAPI_PROXY_HOST_RESOLVER_PRIVATE_RESOURCE_H_ | 5 #ifndef PPAPI_PROXY_HOST_RESOLVER_PRIVATE_RESOURCE_H_ |
6 #define PPAPI_PROXY_HOST_RESOLVER_PRIVATE_RESOURCE_H_ | 6 #define PPAPI_PROXY_HOST_RESOLVER_PRIVATE_RESOURCE_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include <stdint.h> |
| 9 |
9 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| 11 #include "base/macros.h" |
10 #include "ppapi/proxy/host_resolver_resource_base.h" | 12 #include "ppapi/proxy/host_resolver_resource_base.h" |
11 #include "ppapi/proxy/ppapi_proxy_export.h" | 13 #include "ppapi/proxy/ppapi_proxy_export.h" |
12 #include "ppapi/thunk/ppb_host_resolver_private_api.h" | 14 #include "ppapi/thunk/ppb_host_resolver_private_api.h" |
13 | 15 |
14 namespace ppapi { | 16 namespace ppapi { |
15 namespace proxy { | 17 namespace proxy { |
16 | 18 |
17 class PPAPI_PROXY_EXPORT HostResolverPrivateResource | 19 class PPAPI_PROXY_EXPORT HostResolverPrivateResource |
18 : public HostResolverResourceBase, | 20 : public HostResolverResourceBase, |
19 public thunk::PPB_HostResolver_Private_API { | 21 public thunk::PPB_HostResolver_Private_API { |
(...skipping 16 matching lines...) Expand all Loading... |
36 bool GetNetAddress(uint32_t index, PP_NetAddress_Private* address) override; | 38 bool GetNetAddress(uint32_t index, PP_NetAddress_Private* address) override; |
37 | 39 |
38 private: | 40 private: |
39 DISALLOW_COPY_AND_ASSIGN(HostResolverPrivateResource); | 41 DISALLOW_COPY_AND_ASSIGN(HostResolverPrivateResource); |
40 }; | 42 }; |
41 | 43 |
42 } // namespace proxy | 44 } // namespace proxy |
43 } // namespace ppapi | 45 } // namespace ppapi |
44 | 46 |
45 #endif // PPAPI_PROXY_HOST_RESOLVER_PRIVATE_RESOURCE_H_ | 47 #endif // PPAPI_PROXY_HOST_RESOLVER_PRIVATE_RESOURCE_H_ |
OLD | NEW |