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

Side by Side Diff: chrome/nacl/nacl_main_platform_delegate_win.cc

Issue 7863024: Make the NaCl windows 64 bit binaries not depend on chrome targets. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: simplify chrome_exe.gypi Created 9 years, 3 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/nacl/nacl_main.cc ('k') | chrome/tools/build/win/FILES » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "chrome/nacl/nacl_main_platform_delegate.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/file_path.h" 8 #include "base/file_path.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/native_library.h" 10 #include "base/native_library.h"
11 #include "chrome/common/chrome_constants.h"
12 #include "chrome/common/chrome_switches.h" 11 #include "chrome/common/chrome_switches.h"
13 #include "sandbox/src/sandbox.h" 12 #include "sandbox/src/sandbox.h"
14 13
15 NaClMainPlatformDelegate::NaClMainPlatformDelegate( 14 NaClMainPlatformDelegate::NaClMainPlatformDelegate(
16 const MainFunctionParams& parameters) 15 const MainFunctionParams& parameters)
17 : parameters_(parameters), sandbox_test_module_(NULL) { 16 : parameters_(parameters), sandbox_test_module_(NULL) {
18 } 17 }
19 18
20 NaClMainPlatformDelegate::~NaClMainPlatformDelegate() { 19 NaClMainPlatformDelegate::~NaClMainPlatformDelegate() {
21 } 20 }
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 result = (*run_security_tests)(); 85 result = (*run_security_tests)();
87 } else { 86 } else {
88 VLOG(1) << "Failed to get NaCl sandbox test function"; 87 VLOG(1) << "Failed to get NaCl sandbox test function";
89 result = false; 88 result = false;
90 } 89 }
91 base::UnloadNativeLibrary(sandbox_test_module_); 90 base::UnloadNativeLibrary(sandbox_test_module_);
92 sandbox_test_module_ = NULL; 91 sandbox_test_module_ = NULL;
93 } 92 }
94 return result; 93 return result;
95 } 94 }
OLDNEW
« no previous file with comments | « chrome/nacl/nacl_main.cc ('k') | chrome/tools/build/win/FILES » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698