Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(854)

Unified Diff: components/nacl/loader/nacl_main_platform_delegate_win.cc

Issue 16881004: Move chrome/nacl to components/nacl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make ios happy Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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.

Powered by Google App Engine
This is Rietveld 408576698