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

Side by Side Diff: chrome/nacl/nacl_main_platform_delegate_mac.mm

Issue 5950003: Remove CrApplication dependency from base (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/base
Patch Set: '' Created 10 years 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/common/sandbox_mac.mm ('k') | chrome/plugin/plugin_main_mac.mm » ('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) 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
7 #import <Cocoa/Cocoa.h> 7 #import <Cocoa/Cocoa.h>
8 #import "base/chrome_application_mac.h"
9 #include "base/command_line.h" 8 #include "base/command_line.h"
10 #include "base/file_path.h" 9 #include "base/file_path.h"
11 #include "base/logging.h" 10 #include "base/logging.h"
12 #include "base/native_library.h" 11 #include "base/native_library.h"
13 #include "chrome/common/chrome_switches.h" 12 #include "chrome/common/chrome_switches.h"
14 #include "chrome/common/sandbox_mac.h" 13 #include "chrome/common/sandbox_mac.h"
15 #include "third_party/WebKit/WebKit/mac/WebCoreSupport/WebSystemInterface.h"
16 14
17 NaClMainPlatformDelegate::NaClMainPlatformDelegate( 15 NaClMainPlatformDelegate::NaClMainPlatformDelegate(
18 const MainFunctionParams& parameters) 16 const MainFunctionParams& parameters)
19 : parameters_(parameters), sandbox_test_module_(NULL) { 17 : parameters_(parameters), sandbox_test_module_(NULL) {
20 } 18 }
21 19
22 NaClMainPlatformDelegate::~NaClMainPlatformDelegate() { 20 NaClMainPlatformDelegate::~NaClMainPlatformDelegate() {
23 } 21 }
24 22
25 // TODO(jvoung): see if this old comment (from renderer_main_platform...) 23 // TODO(jvoung): see if this old comment (from renderer_main_platform...)
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 result = (*run_security_tests)(); 76 result = (*run_security_tests)();
79 } else { 77 } else {
80 VLOG(1) << "Failed to get NaCl sandbox test function"; 78 VLOG(1) << "Failed to get NaCl sandbox test function";
81 result = false; 79 result = false;
82 } 80 }
83 base::UnloadNativeLibrary(sandbox_test_module_); 81 base::UnloadNativeLibrary(sandbox_test_module_);
84 sandbox_test_module_ = NULL; 82 sandbox_test_module_ = NULL;
85 } 83 }
86 return result; 84 return result;
87 } 85 }
OLDNEW
« no previous file with comments | « chrome/common/sandbox_mac.mm ('k') | chrome/plugin/plugin_main_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698