Chromium Code Reviews| Index: ppapi/shared_impl/private/ppb_host_resolver_shared.cc |
| =================================================================== |
| --- ppapi/shared_impl/private/ppb_host_resolver_shared.cc (revision 154244) |
| +++ ppapi/shared_impl/private/ppb_host_resolver_shared.cc (working copy) |
| @@ -8,7 +8,9 @@ |
| #include <cstring> |
| #include "base/memory/scoped_ptr.h" |
| +#if !defined(OS_NACL) |
| #include "net/base/address_list.h" |
| +#endif |
| #include "ppapi/c/pp_errors.h" |
| #include "ppapi/shared_impl/private/net_address_private_impl.h" |
| #include "ppapi/shared_impl/var.h" |
| @@ -16,6 +18,7 @@ |
| namespace ppapi { |
| +#if !defined(OS_NACL) |
| NetAddressList* CreateNetAddressListFromAddressList( |
|
dmichael (off chromium)
2012/08/31 16:48:40
Maybe it would be good to ifdef this out from the
bbudge
2012/08/31 19:34:59
Done.
|
| const net::AddressList& list) { |
| scoped_ptr<NetAddressList> net_address_list(new NetAddressList()); |
| @@ -29,6 +32,7 @@ |
| return net_address_list.release(); |
| } |
| +#endif // !defined(OS_NACL) |
| PPB_HostResolver_Shared::PPB_HostResolver_Shared(PP_Instance instance) |
| : Resource(OBJECT_IS_IMPL, instance), |