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

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

Issue 3162047: FBTF: Move some heavy, repeatedly emitted symbols to implementation files. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: mac fixes Created 10 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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/logging.h"
7 #include "chrome/common/chrome_constants.h" 9 #include "chrome/common/chrome_constants.h"
8 #include "chrome/common/chrome_switches.h" 10 #include "chrome/common/chrome_switches.h"
9 #include "sandbox/src/sandbox.h" 11 #include "sandbox/src/sandbox.h"
10 12
11 NaClMainPlatformDelegate::NaClMainPlatformDelegate( 13 NaClMainPlatformDelegate::NaClMainPlatformDelegate(
12 const MainFunctionParams& parameters) 14 const MainFunctionParams& parameters)
13 : parameters_(parameters), sandbox_test_module_(NULL) { 15 : parameters_(parameters), sandbox_test_module_(NULL) {
14 } 16 }
15 17
16 NaClMainPlatformDelegate::~NaClMainPlatformDelegate() { 18 NaClMainPlatformDelegate::~NaClMainPlatformDelegate() {
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 78
77 CHECK(run_security_tests); 79 CHECK(run_security_tests);
78 if (run_security_tests) { 80 if (run_security_tests) {
79 DLOG(INFO) << "Running NaCl Loader security tests"; 81 DLOG(INFO) << "Running NaCl Loader security tests";
80 CHECK((*run_security_tests)()); 82 CHECK((*run_security_tests)());
81 } 83 }
82 FreeLibrary(sandbox_test_module_); 84 FreeLibrary(sandbox_test_module_);
83 } 85 }
84 } 86 }
85 87
OLDNEW
« no previous file with comments | « chrome/nacl/nacl_main_platform_delegate_mac.mm ('k') | chrome/renderer/renderer_main_platform_delegate_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698