| Index: components/nacl/loader/nacl_main_platform_delegate_win.cc
|
| diff --git a/chrome/nacl/nacl_main_platform_delegate_win.cc b/components/nacl/loader/nacl_main_platform_delegate_win.cc
|
| similarity index 91%
|
| rename from chrome/nacl/nacl_main_platform_delegate_win.cc
|
| rename to components/nacl/loader/nacl_main_platform_delegate_win.cc
|
| index abd9b3eb4c3a74a172d423b7fae9dfcfbc203a3c..fa00aefd3e7d5ffce89a1ac48d314b2c251cb0af 100644
|
| --- a/chrome/nacl/nacl_main_platform_delegate_win.cc
|
| +++ b/components/nacl/loader/nacl_main_platform_delegate_win.cc
|
| @@ -2,13 +2,14 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "chrome/nacl/nacl_main_platform_delegate.h"
|
| +#include "components/nacl/loader/nacl_main_platform_delegate.h"
|
|
|
| #include "base/command_line.h"
|
| #include "base/files/file_path.h"
|
| #include "base/logging.h"
|
| #include "base/native_library.h"
|
| -#include "chrome/common/chrome_switches.h"
|
| +#include "components/nacl/common/nacl_delegate.h"
|
| +#include "components/nacl/common/nacl_switches.h"
|
| #include "sandbox/win/src/sandbox.h"
|
|
|
| NaClMainPlatformDelegate::NaClMainPlatformDelegate(
|
| @@ -36,8 +37,8 @@ void NaClMainPlatformDelegate::InitSandboxTests(bool no_sandbox) {
|
| parameters_.sandbox_info->target_services;
|
|
|
| if (target_services && !no_sandbox) {
|
| - base::FilePath test_dll_name =
|
| - command_line.GetSwitchValuePath(switches::kTestNaClSandbox);
|
| + base::FilePath test_dll_name = command_line.GetSwitchValuePath(
|
| + switches::kTestNaClSandbox);
|
| if (!test_dll_name.empty()) {
|
| // At this point, hack on the suffix according to with bitness
|
| // of your windows process.
|
|
|