| 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/files/file_path.h" | 10 #include "base/files/file_path.h" |
| 11 #include "base/lazy_instance.h" | 11 #include "base/lazy_instance.h" |
| 12 #include "base/logging.h" | 12 #include "base/logging.h" |
| 13 #include "base/metrics/histogram.h" | 13 #include "base/metrics/histogram.h" |
| 14 #include "base/path_service.h" | 14 #include "base/path_service.h" |
| 15 #include "base/process_util.h" | |
| 16 #include "base/stl_util.h" | 15 #include "base/stl_util.h" |
| 17 #include "base/strings/string_util.h" | 16 #include "base/strings/string_util.h" |
| 18 #include "base/synchronization/waitable_event.h" | 17 #include "base/synchronization/waitable_event.h" |
| 19 #include "content/browser/histogram_message_filter.h" | 18 #include "content/browser/histogram_message_filter.h" |
| 20 #include "content/browser/loader/resource_message_filter.h" | 19 #include "content/browser/loader/resource_message_filter.h" |
| 21 #include "content/browser/profiler_message_filter.h" | 20 #include "content/browser/profiler_message_filter.h" |
| 22 #include "content/browser/tracing/trace_message_filter.h" | 21 #include "content/browser/tracing/trace_message_filter.h" |
| 23 #include "content/common/child_process_host_impl.h" | 22 #include "content/common/child_process_host_impl.h" |
| 24 #include "content/public/browser/browser_child_process_host_delegate.h" | 23 #include "content/public/browser/browser_child_process_host_delegate.h" |
| 25 #include "content/public/browser/browser_child_process_observer.h" | 24 #include "content/public/browser/browser_child_process_observer.h" |
| (...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 344 | 343 |
| 345 void BrowserChildProcessHostImpl::OnProcessExitedEarly( | 344 void BrowserChildProcessHostImpl::OnProcessExitedEarly( |
| 346 base::WaitableEvent* event) { | 345 base::WaitableEvent* event) { |
| 347 DeleteProcessWaitableEvent(event); | 346 DeleteProcessWaitableEvent(event); |
| 348 OnChildDisconnected(); | 347 OnChildDisconnected(); |
| 349 } | 348 } |
| 350 | 349 |
| 351 #endif | 350 #endif |
| 352 | 351 |
| 353 } // namespace content | 352 } // namespace content |
| OLD | NEW |