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

Side by Side Diff: components/nacl/loader/nacl_main_platform_delegate_linux.cc

Issue 16881004: Move chrome/nacl to components/nacl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Create a zygote folder Created 7 years, 5 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "components/nacl/loader/nacl_main_platform_delegate.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 8
9 NaClMainPlatformDelegate::NaClMainPlatformDelegate( 9 NaClMainPlatformDelegate::NaClMainPlatformDelegate(
10 const content::MainFunctionParams& parameters) 10 const content::MainFunctionParams& parameters)
11 : parameters_(parameters), sandbox_test_module_(NULL) { 11 : parameters_(parameters), sandbox_test_module_(NULL) {
12 } 12 }
13 13
14 NaClMainPlatformDelegate::~NaClMainPlatformDelegate() { 14 NaClMainPlatformDelegate::~NaClMainPlatformDelegate() {
15 } 15 }
(...skipping 26 matching lines...) Expand all
42 // http://code.google.com/p/nativeclient/issues/list?q=label:Seccomp 42 // http://code.google.com/p/nativeclient/issues/list?q=label:Seccomp
43 // At best, NaCl will not work. At worst, enabling the seccomp sandbox 43 // At best, NaCl will not work. At worst, enabling the seccomp sandbox
44 // could create a hole in the NaCl sandbox. 44 // could create a hole in the NaCl sandbox.
45 } 45 }
46 46
47 bool NaClMainPlatformDelegate::RunSandboxTests() { 47 bool NaClMainPlatformDelegate::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 return true; 50 return true;
51 } 51 }
OLDNEW
« no previous file with comments | « components/nacl/loader/nacl_main_platform_delegate.h ('k') | components/nacl/loader/nacl_main_platform_delegate_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698