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

Side by Side Diff: chrome/renderer/renderer_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/plugin/plugin_main_mac.mm ('k') | chrome/test/out_of_proc_test_runner.cc » ('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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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/renderer/renderer_main_platform_delegate.h" 5 #include "chrome/renderer/renderer_main_platform_delegate.h"
6 6
7 #import <Cocoa/Cocoa.h> 7 #import <Cocoa/Cocoa.h>
8 8
9 #import "base/chrome_application_mac.h"
10 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #import "chrome/common/chrome_application_mac.h"
11 #include "chrome/common/chrome_switches.h" 11 #include "chrome/common/chrome_switches.h"
12 #include "chrome/common/sandbox_mac.h" 12 #include "chrome/common/sandbox_mac.h"
13 #include "third_party/WebKit/WebKit/mac/WebCoreSupport/WebSystemInterface.h" 13 #include "third_party/WebKit/WebKit/mac/WebCoreSupport/WebSystemInterface.h"
14 14
15 RendererMainPlatformDelegate::RendererMainPlatformDelegate( 15 RendererMainPlatformDelegate::RendererMainPlatformDelegate(
16 const MainFunctionParams& parameters) 16 const MainFunctionParams& parameters)
17 : parameters_(parameters) { 17 : parameters_(parameters) {
18 } 18 }
19 19
20 RendererMainPlatformDelegate::~RendererMainPlatformDelegate() { 20 RendererMainPlatformDelegate::~RendererMainPlatformDelegate() {
(...skipping 28 matching lines...) Expand all
49 bool RendererMainPlatformDelegate::EnableSandbox() { 49 bool RendererMainPlatformDelegate::EnableSandbox() {
50 CommandLine* parsed_command_line = CommandLine::ForCurrentProcess(); 50 CommandLine* parsed_command_line = CommandLine::ForCurrentProcess();
51 SandboxInitWrapper sandbox_wrapper; 51 SandboxInitWrapper sandbox_wrapper;
52 return sandbox_wrapper.InitializeSandbox(*parsed_command_line, 52 return sandbox_wrapper.InitializeSandbox(*parsed_command_line,
53 switches::kRendererProcess); 53 switches::kRendererProcess);
54 } 54 }
55 55
56 void RendererMainPlatformDelegate::RunSandboxTests() { 56 void RendererMainPlatformDelegate::RunSandboxTests() {
57 // TODO(port): Run sandbox unit test here. 57 // TODO(port): Run sandbox unit test here.
58 } 58 }
OLDNEW
« no previous file with comments | « chrome/plugin/plugin_main_mac.mm ('k') | chrome/test/out_of_proc_test_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698