| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |