Chromium Code Reviews| 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 93% |
| rename from chrome/nacl/nacl_main_platform_delegate_win.cc |
| rename to components/nacl/loader/nacl_main_platform_delegate_win.cc |
| index abd9b3eb4c3a74a172d423b7fae9dfcfbc203a3c..f811e90c4cda1b0934139e90d5699899c6ab01eb 100644 |
| --- a/chrome/nacl/nacl_main_platform_delegate_win.cc |
| +++ b/components/nacl/loader/nacl_main_platform_delegate_win.cc |
| @@ -2,13 +2,13 @@ |
| // 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_switches.h" |
| #include "sandbox/win/src/sandbox.h" |
| NaClMainPlatformDelegate::NaClMainPlatformDelegate( |
| @@ -36,8 +36,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( |
|
Mark Seaborn
2013/06/21 00:00:47
Please undo this unnecessary formatting change.
|
| + switches::kTestNaClSandbox); |
| if (!test_dll_name.empty()) { |
| // At this point, hack on the suffix according to with bitness |
| // of your windows process. |