Index: components/nacl/browser/nacl_process_host.cc |
diff --git a/components/nacl/browser/nacl_process_host.cc b/components/nacl/browser/nacl_process_host.cc |
index 742e773d7ac9275bca66d7aec626c41465256b0d..87690771885557b73925fc430c4bebde36bb9f76 100644 |
--- a/components/nacl/browser/nacl_process_host.cc |
+++ b/components/nacl/browser/nacl_process_host.cc |
@@ -37,6 +37,7 @@ |
#include "components/nacl/common/nacl_messages.h" |
#include "components/nacl/common/nacl_process_type.h" |
#include "components/nacl/common/nacl_switches.h" |
+#include "components/url_formatter/url_formatter.h" |
#include "content/public/browser/browser_child_process_host.h" |
#include "content/public/browser/browser_ppapi_host.h" |
#include "content/public/browser/child_process_data.h" |
@@ -50,7 +51,6 @@ |
#include "ipc/ipc_channel.h" |
#include "ipc/ipc_switches.h" |
#include "native_client/src/shared/imc/nacl_imc_c.h" |
-#include "net/base/net_util.h" |
#include "net/socket/socket_descriptor.h" |
#include "ppapi/host/host_factory.h" |
#include "ppapi/host/ppapi_host.h" |
@@ -313,7 +313,7 @@ NaClProcessHost::NaClProcessHost( |
// We aren't on the UI thread so getting the pref locale for language |
// formatting isn't possible, so IDN will be lost, but this is probably OK |
// for this use case. |
- process_->SetName(net::FormatUrl(manifest_url_, std::string())); |
+ process_->SetName(url_formatter::FormatUrl(manifest_url_, std::string())); |
enable_debug_stub_ = base::CommandLine::ForCurrentProcess()->HasSwitch( |
switches::kEnableNaClDebug); |