Index: components/nacl/loader/nacl_main_platform_delegate_mac.mm |
diff --git a/chrome/nacl/nacl_main_platform_delegate_mac.mm b/components/nacl/loader/nacl_main_platform_delegate_mac.mm |
similarity index 92% |
rename from chrome/nacl/nacl_main_platform_delegate_mac.mm |
rename to components/nacl/loader/nacl_main_platform_delegate_mac.mm |
index e304ea7b9cfac6edefa103cad4bd2619f74ce66c..4d32a65f9bba906c30defdc7a3d381c4974a88f0 100644 |
--- a/chrome/nacl/nacl_main_platform_delegate_mac.mm |
+++ b/components/nacl/loader/nacl_main_platform_delegate_mac.mm |
@@ -2,15 +2,15 @@ |
// 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" |
#import <Cocoa/Cocoa.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_sandbox_type_mac.h" |
-#include "chrome/common/chrome_switches.h" |
+#include "components/nacl/common/nacl_sandbox_type_mac.h" |
+#include "components/nacl/common/nacl_switches.h" |
#include "content/public/common/sandbox_init.h" |
NaClMainPlatformDelegate::NaClMainPlatformDelegate( |
@@ -55,7 +55,7 @@ void NaClMainPlatformDelegate::InitSandboxTests(bool no_sandbox) { |
} |
void NaClMainPlatformDelegate::EnableSandbox() { |
- CHECK(content::InitializeSandbox(CHROME_SANDBOX_TYPE_NACL_LOADER, |
+ CHECK(content::InitializeSandbox(NACL_SANDBOX_TYPE_NACL_LOADER, |
base::FilePath())) |
<< "Error initializing sandbox for " << switches::kNaClLoaderProcess; |
} |