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

Side by Side Diff: content/renderer/renderer_main_platform_delegate_linux.cc

Issue 8387039: Move content_restriction.h and main_function_params.h to content/public/common, and put them in t... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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) 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 "content/renderer/renderer_main_platform_delegate.h" 5 #include "content/renderer/renderer_main_platform_delegate.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "content/common/seccomp_sandbox.h" 8 #include "content/common/seccomp_sandbox.h"
9 #include "content/public/common/content_switches.h" 9 #include "content/public/common/content_switches.h"
10 10
11 RendererMainPlatformDelegate::RendererMainPlatformDelegate( 11 RendererMainPlatformDelegate::RendererMainPlatformDelegate(
12 const MainFunctionParams& parameters) 12 const content::MainFunctionParams& parameters)
13 : parameters_(parameters) { 13 : parameters_(parameters) {
14 } 14 }
15 15
16 RendererMainPlatformDelegate::~RendererMainPlatformDelegate() { 16 RendererMainPlatformDelegate::~RendererMainPlatformDelegate() {
17 } 17 }
18 18
19 void RendererMainPlatformDelegate::PlatformInitialize() { 19 void RendererMainPlatformDelegate::PlatformInitialize() {
20 } 20 }
21 21
22 void RendererMainPlatformDelegate::PlatformUninitialize() { 22 void RendererMainPlatformDelegate::PlatformUninitialize() {
(...skipping 18 matching lines...) Expand all
41 if (SeccompSandboxEnabled() && SupportsSeccompSandbox(-1)) 41 if (SeccompSandboxEnabled() && SupportsSeccompSandbox(-1))
42 StartSeccompSandbox(); 42 StartSeccompSandbox();
43 #endif 43 #endif
44 return true; 44 return true;
45 } 45 }
46 46
47 void RendererMainPlatformDelegate::RunSandboxTests() { 47 void RendererMainPlatformDelegate::RunSandboxTests() {
48 // The sandbox is started in the zygote process: zygote_main_linux.cc 48 // The sandbox is started in the zygote process: zygote_main_linux.cc
49 // http://code.google.com/p/chromium/wiki/LinuxSUIDSandbox 49 // http://code.google.com/p/chromium/wiki/LinuxSUIDSandbox
50 } 50 }
OLDNEW
« no previous file with comments | « content/renderer/renderer_main_platform_delegate.h ('k') | content/renderer/renderer_main_platform_delegate_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698