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

Side by Side Diff: content/renderer/renderer_main_platform_delegate_mac.mm

Issue 6878002: Move renderer_main and renderer_glue to content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 8 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
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 "content/renderer/renderer_main_platform_delegate.h"
6 6
7 #import <Cocoa/Cocoa.h> 7 #import <Cocoa/Cocoa.h>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "chrome/common/chrome_switches.h"
11 #import "content/common/chrome_application_mac.h" 10 #import "content/common/chrome_application_mac.h"
11 #include "content/common/content_switches.h"
12 #include "content/common/sandbox_mac.h" 12 #include "content/common/sandbox_mac.h"
13 #include "third_party/WebKit/Source/WebKit/mac/WebCoreSupport/WebSystemInterface .h" 13 #include "third_party/WebKit/Source/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() {
21 } 21 }
(...skipping 27 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 | « content/renderer/renderer_main_platform_delegate_linux.cc ('k') | content/renderer/renderer_main_platform_delegate_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698