Index: chrome/browser/nacl_host/nacl_broker_host_win.cc |
diff --git a/chrome/browser/nacl_host/nacl_broker_host_win.cc b/chrome/browser/nacl_host/nacl_broker_host_win.cc |
index 2115adb573cec1d9dbb82e6b2278f61a5919f5a8..47e4e0e46556ba14c25a4fc9c9ed230e6b284f55 100644 |
--- a/chrome/browser/nacl_host/nacl_broker_host_win.cc |
+++ b/chrome/browser/nacl_host/nacl_broker_host_win.cc |
@@ -13,8 +13,9 @@ |
#include "chrome/common/chrome_process_type.h" |
#include "chrome/common/chrome_switches.h" |
#include "chrome/common/logging_chrome.h" |
-#include "chrome/common/nacl_cmd_line.h" |
-#include "chrome/common/nacl_messages.h" |
+#include "components/nacl/common/nacl_delegate.h" |
+#include "components/nacl/common/nacl_messages.h" |
+#include "components/nacl/common/nacl_switches.h" |
#include "content/public/browser/browser_child_process_host.h" |
#include "content/public/browser/child_process_data.h" |
#include "content/public/common/child_process_host.h" |
@@ -58,7 +59,7 @@ bool NaClBrokerHost::Init() { |
base::FilePath nacl_path = module_path.DirName().Append(chrome::kNaClAppName); |
CommandLine* cmd_line = new CommandLine(nacl_path); |
- nacl::CopyNaClCommandLineArguments(cmd_line); |
+ GetNaClDelegate()->CopyNaClCommandLineArguments(cmd_line); |
cmd_line->AppendSwitchASCII(switches::kProcessType, |
switches::kNaClBrokerProcess); |