OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/nacl/nacl_main_platform_delegate.h" | 5 #include "components/nacl/loader/nacl_main_platform_delegate.h" |
6 | 6 |
7 #import <Cocoa/Cocoa.h> | 7 #import <Cocoa/Cocoa.h> |
8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
9 #include "base/files/file_path.h" | 9 #include "base/files/file_path.h" |
10 #include "base/logging.h" | 10 #include "base/logging.h" |
11 #include "base/native_library.h" | 11 #include "base/native_library.h" |
12 #include "components/nacl/common/nacl_sandbox_type_mac.h" | 12 #include "components/nacl/common/nacl_sandbox_type_mac.h" |
13 #include "components/nacl/common/nacl_switches.h" | 13 #include "components/nacl/common/nacl_switches.h" |
14 #include "content/public/common/sandbox_init.h" | 14 #include "content/public/common/sandbox_init.h" |
15 | 15 |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 result = (*run_security_tests)(); | 73 result = (*run_security_tests)(); |
74 } else { | 74 } else { |
75 VLOG(1) << "Failed to get NaCl sandbox test function"; | 75 VLOG(1) << "Failed to get NaCl sandbox test function"; |
76 result = false; | 76 result = false; |
77 } | 77 } |
78 base::UnloadNativeLibrary(sandbox_test_module_); | 78 base::UnloadNativeLibrary(sandbox_test_module_); |
79 sandbox_test_module_ = NULL; | 79 sandbox_test_module_ = NULL; |
80 } | 80 } |
81 return result; | 81 return result; |
82 } | 82 } |
OLD | NEW |