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

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

Issue 2673003: [prelim] Additional renderer fontconfig support. (Closed)
Patch Set: ... Created 10 years, 6 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
« no previous file with comments | « chrome/common/sandbox_methods_linux.h ('k') | chrome/renderer/renderer_sandbox_support_linux.h » ('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 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/debug_util.h" 8 #include "base/debug_util.h"
9 #include "sandbox/linux/seccomp/sandbox.h" 9 #include "sandbox/linux/seccomp/sandbox.h"
10 10
11 #include "chrome/common/chrome_switches.h" 11 #include "chrome/common/chrome_switches.h"
12 12
13 #include "chrome/renderer/renderer_sandbox_support_linux.h"
14
13 RendererMainPlatformDelegate::RendererMainPlatformDelegate( 15 RendererMainPlatformDelegate::RendererMainPlatformDelegate(
14 const MainFunctionParams& parameters) 16 const MainFunctionParams& parameters)
15 : parameters_(parameters) { 17 : parameters_(parameters) {
16 } 18 }
17 19
18 RendererMainPlatformDelegate::~RendererMainPlatformDelegate() { 20 RendererMainPlatformDelegate::~RendererMainPlatformDelegate() {
19 } 21 }
20 22
21 void RendererMainPlatformDelegate::PlatformInitialize() { 23 void RendererMainPlatformDelegate::PlatformInitialize() {
22 } 24 }
(...skipping 20 matching lines...) Expand all
43 if (switches::SeccompSandboxEnabled() && SupportsSeccompSandbox(-1)) 45 if (switches::SeccompSandboxEnabled() && SupportsSeccompSandbox(-1))
44 StartSeccompSandbox(); 46 StartSeccompSandbox();
45 #endif 47 #endif
46 return true; 48 return true;
47 } 49 }
48 50
49 void RendererMainPlatformDelegate::RunSandboxTests() { 51 void RendererMainPlatformDelegate::RunSandboxTests() {
50 // The sandbox is started in the zygote process: zygote_main_linux.cc 52 // The sandbox is started in the zygote process: zygote_main_linux.cc
51 // http://code.google.com/p/chromium/wiki/LinuxSUIDSandbox 53 // http://code.google.com/p/chromium/wiki/LinuxSUIDSandbox
52 } 54 }
OLDNEW
« no previous file with comments | « chrome/common/sandbox_methods_linux.h ('k') | chrome/renderer/renderer_sandbox_support_linux.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698