| Index: components/nacl/broker/nacl_broker_listener.cc
|
| diff --git a/chrome/nacl/nacl_broker_listener.cc b/components/nacl/broker/nacl_broker_listener.cc
|
| similarity index 91%
|
| rename from chrome/nacl/nacl_broker_listener.cc
|
| rename to components/nacl/broker/nacl_broker_listener.cc
|
| index e310dfeb406c581d8ee142cfc480e3d4e1724d7d..ced3626b571dbdf16e3c34bc40d316265ade7852 100644
|
| --- a/chrome/nacl/nacl_broker_listener.cc
|
| +++ b/components/nacl/broker/nacl_broker_listener.cc
|
| @@ -2,7 +2,7 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "chrome/nacl/nacl_broker_listener.h"
|
| +#include "components/nacl/broker/nacl_broker_listener.h"
|
|
|
| #include "base/base_switches.h"
|
| #include "base/bind.h"
|
| @@ -11,10 +11,11 @@
|
| #include "base/message_loop/message_loop_proxy.h"
|
| #include "base/path_service.h"
|
| #include "base/process_util.h"
|
| -#include "chrome/common/chrome_switches.h"
|
| -#include "chrome/common/nacl_cmd_line.h"
|
| -#include "chrome/common/nacl_debug_exception_handler_win.h"
|
| -#include "chrome/common/nacl_messages.h"
|
| +#include "components/nacl/common/nacl_debug_exception_handler_win.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/common/content_switches.h"
|
| #include "content/public/common/sandbox_init.h"
|
| #include "ipc/ipc_channel.h"
|
| #include "ipc/ipc_switches.h"
|
| @@ -95,7 +96,7 @@ void NaClBrokerListener::OnLaunchLoaderThroughBroker(
|
| PathService::Get(base::FILE_EXE, &exe_path);
|
| if (!exe_path.empty()) {
|
| CommandLine* cmd_line = new CommandLine(exe_path);
|
| - nacl::CopyNaClCommandLineArguments(cmd_line);
|
| + GetNaClDelegate()->CopyNaClCommandLineArguments(cmd_line);
|
|
|
| cmd_line->AppendSwitchASCII(switches::kProcessType,
|
| switches::kNaClLoaderProcess);
|
|
|