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

Side by Side Diff: chrome/nacl/nacl_main_platform_delegate_linux.cc

Issue 3225010: Pull seccomp-sandbox in via DEPS rather than using an in-tree copy... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 3 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) 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 #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 "seccompsandbox/sandbox.h"
10 10
11 #include "chrome/common/chrome_switches.h" 11 #include "chrome/common/chrome_switches.h"
12 12
13 NaClMainPlatformDelegate::NaClMainPlatformDelegate( 13 NaClMainPlatformDelegate::NaClMainPlatformDelegate(
14 const MainFunctionParams& parameters) 14 const MainFunctionParams& parameters)
15 : parameters_(parameters), sandbox_test_module_(NULL) { 15 : parameters_(parameters), sandbox_test_module_(NULL) {
16 } 16 }
17 17
18 NaClMainPlatformDelegate::~NaClMainPlatformDelegate() { 18 NaClMainPlatformDelegate::~NaClMainPlatformDelegate() {
19 } 19 }
(...skipping 24 matching lines...) Expand all
44 StartSeccompSandbox(); 44 StartSeccompSandbox();
45 #endif 45 #endif
46 return true; 46 return true;
47 } 47 }
48 48
49 void NaClMainPlatformDelegate::RunSandboxTests() { 49 void NaClMainPlatformDelegate::RunSandboxTests() {
50 // The sandbox is started in the zygote process: zygote_main_linux.cc 50 // The sandbox is started in the zygote process: zygote_main_linux.cc
51 // http://code.google.com/p/chromium/wiki/LinuxSUIDSandbox 51 // http://code.google.com/p/chromium/wiki/LinuxSUIDSandbox
52 } 52 }
53 53
OLDNEW
« no previous file with comments | « chrome/browser/zygote_main_linux.cc ('k') | chrome/renderer/renderer_main_platform_delegate_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698