| 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 <memory> | 7 #include <memory> |
| 8 #include <utility> | 8 #include <utility> |
| 9 | 9 |
| 10 #include "base/bind.h" | 10 #include "base/bind.h" |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 #include "content/browser/renderer_host/render_sandbox_host_linux.h" | 51 #include "content/browser/renderer_host/render_sandbox_host_linux.h" |
| 52 #include "content/browser/zygote_host/zygote_communication_linux.h" | 52 #include "content/browser/zygote_host/zygote_communication_linux.h" |
| 53 #include "content/browser/zygote_host/zygote_host_impl_linux.h" | 53 #include "content/browser/zygote_host/zygote_host_impl_linux.h" |
| 54 #include "content/common/child_process_sandbox_support_impl_linux.h" | 54 #include "content/common/child_process_sandbox_support_impl_linux.h" |
| 55 #include "content/public/browser/zygote_handle_linux.h" | 55 #include "content/public/browser/zygote_handle_linux.h" |
| 56 #endif | 56 #endif |
| 57 | 57 |
| 58 #if defined(OS_POSIX) | 58 #if defined(OS_POSIX) |
| 59 #include "base/posix/global_descriptors.h" | 59 #include "base/posix/global_descriptors.h" |
| 60 #include "content/browser/file_descriptor_info_impl.h" | 60 #include "content/browser/file_descriptor_info_impl.h" |
| 61 #include "gin/v8_initializer.h" | 61 #include "gin/v8_initializer.h" // nogncheck |
| 62 #endif | 62 #endif |
| 63 | 63 |
| 64 namespace content { | 64 namespace content { |
| 65 | 65 |
| 66 namespace { | 66 namespace { |
| 67 | 67 |
| 68 typedef base::Callback<void(ZygoteHandle, | 68 typedef base::Callback<void(ZygoteHandle, |
| 69 #if defined(OS_ANDROID) | 69 #if defined(OS_ANDROID) |
| 70 base::ScopedFD, | 70 base::ScopedFD, |
| 71 #endif | 71 #endif |
| (...skipping 524 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 596 } | 596 } |
| 597 | 597 |
| 598 ChildProcessLauncher::Client* ChildProcessLauncher::ReplaceClientForTest( | 598 ChildProcessLauncher::Client* ChildProcessLauncher::ReplaceClientForTest( |
| 599 Client* client) { | 599 Client* client) { |
| 600 Client* ret = client_; | 600 Client* ret = client_; |
| 601 client_ = client; | 601 client_ = client; |
| 602 return ret; | 602 return ret; |
| 603 } | 603 } |
| 604 | 604 |
| 605 } // namespace content | 605 } // namespace content |
| OLD | NEW |