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

Side by Side Diff: content/browser/child_process_launcher.cc

Issue 1851213002: Remove sandbox on Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix nacl compile issues Created 4 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
« no previous file with comments | « content/browser/browser_main_loop.cc ('k') | content/browser/gpu/gpu_process_host.cc » ('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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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 "content/browser/child_process_launcher.h" 5 #include "content/browser/child_process_launcher.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 13 matching lines...) Expand all
24 #include "content/public/common/content_switches.h" 24 #include "content/public/common/content_switches.h"
25 #include "content/public/common/result_codes.h" 25 #include "content/public/common/result_codes.h"
26 #include "content/public/common/sandboxed_process_launcher_delegate.h" 26 #include "content/public/common/sandboxed_process_launcher_delegate.h"
27 #include "mojo/edk/embedder/embedder.h" 27 #include "mojo/edk/embedder/embedder.h"
28 #include "mojo/edk/embedder/scoped_platform_handle.h" 28 #include "mojo/edk/embedder/scoped_platform_handle.h"
29 29
30 #if defined(OS_WIN) 30 #if defined(OS_WIN)
31 #include "base/files/file_path.h" 31 #include "base/files/file_path.h"
32 #include "base/win/scoped_handle.h" 32 #include "base/win/scoped_handle.h"
33 #include "base/win/win_util.h" 33 #include "base/win/win_util.h"
34 #include "content/common/sandbox_win.h"
35 #include "content/public/common/sandbox_init.h" 34 #include "content/public/common/sandbox_init.h"
36 #elif defined(OS_MACOSX) 35 #elif defined(OS_MACOSX)
37 #include "content/browser/bootstrap_sandbox_manager_mac.h" 36 #include "content/browser/bootstrap_sandbox_manager_mac.h"
38 #include "content/browser/mach_broker_mac.h" 37 #include "content/browser/mach_broker_mac.h"
39 #include "sandbox/mac/bootstrap_sandbox.h" 38 #include "sandbox/mac/bootstrap_sandbox.h"
40 #include "sandbox/mac/pre_exec_delegate.h" 39 #include "sandbox/mac/pre_exec_delegate.h"
41 #elif defined(OS_ANDROID) 40 #elif defined(OS_ANDROID)
42 #include "base/android/jni_android.h" 41 #include "base/android/jni_android.h"
43 #include "content/browser/android/child_process_launcher_android.h" 42 #include "content/browser/android/child_process_launcher_android.h"
44 #elif defined(OS_POSIX) 43 #elif defined(OS_POSIX)
(...skipping 542 matching lines...) Expand 10 before | Expand all | Expand 10 after
587 } 586 }
588 587
589 ChildProcessLauncher::Client* ChildProcessLauncher::ReplaceClientForTest( 588 ChildProcessLauncher::Client* ChildProcessLauncher::ReplaceClientForTest(
590 Client* client) { 589 Client* client) {
591 Client* ret = client_; 590 Client* ret = client_;
592 client_ = client; 591 client_ = client;
593 return ret; 592 return ret;
594 } 593 }
595 594
596 } // namespace content 595 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/browser_main_loop.cc ('k') | content/browser/gpu/gpu_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698