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

Unified Diff: ppapi/shared_impl/private/ppb_host_resolver_shared.cc

Issue 10916040: Add TCP and UDP proxies to NaCl IPC IRT build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/shared_impl/private/ppb_host_resolver_shared.h ('k') | ppapi/thunk/resource_creation_api.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) && !defined(NACL_WIN64)
NetAddressList* CreateNetAddressListFromAddressList(
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) && !defined(NACL_WIN64)
PPB_HostResolver_Shared::PPB_HostResolver_Shared(PP_Instance instance)
: Resource(OBJECT_IS_IMPL, instance),
« no previous file with comments | « ppapi/shared_impl/private/ppb_host_resolver_shared.h ('k') | ppapi/thunk/resource_creation_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698