| OLD | NEW |
| 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 "content/browser/browser_child_process_host_impl.h" | 5 #include "content/browser/browser_child_process_host_impl.h" |
| 6 | 6 |
| 7 #include "base/base_switches.h" | 7 #include "base/base_switches.h" |
| 8 #include "base/bind.h" | 8 #include "base/bind.h" |
| 9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
| 10 #include "base/debug/dump_without_crashing.h" | 10 #include "base/debug/dump_without_crashing.h" |
| 11 #include "base/feature_list.h" | 11 #include "base/feature_list.h" |
| 12 #include "base/files/file_path.h" | 12 #include "base/files/file_path.h" |
| 13 #include "base/lazy_instance.h" | 13 #include "base/lazy_instance.h" |
| 14 #include "base/logging.h" | 14 #include "base/logging.h" |
| 15 #include "base/macros.h" | 15 #include "base/macros.h" |
| 16 #include "base/metrics/field_trial.h" | 16 #include "base/metrics/field_trial.h" |
| 17 #include "base/metrics/histogram.h" | 17 #include "base/metrics/histogram.h" |
| 18 #include "base/stl_util.h" | 18 #include "base/stl_util.h" |
| 19 #include "base/strings/string_util.h" | 19 #include "base/strings/string_util.h" |
| 20 #include "base/strings/stringprintf.h" | 20 #include "base/strings/stringprintf.h" |
| 21 #include "base/synchronization/waitable_event.h" | 21 #include "base/synchronization/waitable_event.h" |
| 22 #include "base/threading/thread_task_runner_handle.h" | 22 #include "base/threading/thread_task_runner_handle.h" |
| 23 #include "build/build_config.h" | 23 #include "build/build_config.h" |
| 24 #include "components/tracing/common/tracing_switches.h" | 24 #include "components/tracing/common/tracing_switches.h" |
| 25 #include "content/browser/histogram_message_filter.h" | 25 #include "content/browser/histogram_message_filter.h" |
| 26 #include "content/browser/loader/resource_message_filter.h" | 26 #include "content/browser/loader/resource_message_filter.h" |
| 27 #include "content/browser/memory/memory_message_filter.h" | 27 #include "content/browser/memory/memory_message_filter.h" |
| 28 #include "content/browser/mojo/mojo_child_connection.h" | |
| 29 #include "content/browser/mojo/mojo_shell_context.h" | 28 #include "content/browser/mojo/mojo_shell_context.h" |
| 30 #include "content/browser/profiler_message_filter.h" | 29 #include "content/browser/profiler_message_filter.h" |
| 31 #include "content/browser/tracing/trace_message_filter.h" | 30 #include "content/browser/tracing/trace_message_filter.h" |
| 32 #include "content/common/child_process_host_impl.h" | 31 #include "content/common/child_process_host_impl.h" |
| 33 #include "content/common/child_process_messages.h" | 32 #include "content/common/child_process_messages.h" |
| 33 #include "content/common/mojo/mojo_child_connection.h" |
| 34 #include "content/public/browser/browser_child_process_host_delegate.h" | 34 #include "content/public/browser/browser_child_process_host_delegate.h" |
| 35 #include "content/public/browser/browser_child_process_observer.h" | 35 #include "content/public/browser/browser_child_process_observer.h" |
| 36 #include "content/public/browser/browser_thread.h" | 36 #include "content/public/browser/browser_thread.h" |
| 37 #include "content/public/browser/child_process_data.h" | 37 #include "content/public/browser/child_process_data.h" |
| 38 #include "content/public/browser/content_browser_client.h" | 38 #include "content/public/browser/content_browser_client.h" |
| 39 #include "content/public/common/content_switches.h" | 39 #include "content/public/common/content_switches.h" |
| 40 #include "content/public/common/mojo_channel_switches.h" | 40 #include "content/public/common/mojo_channel_switches.h" |
| 41 #include "content/public/common/process_type.h" | 41 #include "content/public/common/process_type.h" |
| 42 #include "content/public/common/result_codes.h" | 42 #include "content/public/common/result_codes.h" |
| 43 #include "ipc/attachment_broker.h" | 43 #include "ipc/attachment_broker.h" |
| (...skipping 477 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 521 | 521 |
| 522 #if defined(OS_WIN) | 522 #if defined(OS_WIN) |
| 523 | 523 |
| 524 void BrowserChildProcessHostImpl::OnObjectSignaled(HANDLE object) { | 524 void BrowserChildProcessHostImpl::OnObjectSignaled(HANDLE object) { |
| 525 OnChildDisconnected(); | 525 OnChildDisconnected(); |
| 526 } | 526 } |
| 527 | 527 |
| 528 #endif | 528 #endif |
| 529 | 529 |
| 530 } // namespace content | 530 } // namespace content |
| OLD | NEW |