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/alias.h" | 10 #include "base/debug/alias.h" |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 #include "content/public/browser/content_browser_client.h" | 42 #include "content/public/browser/content_browser_client.h" |
43 #include "content/public/common/connection_filter.h" | 43 #include "content/public/common/connection_filter.h" |
44 #include "content/public/common/content_features.h" | 44 #include "content/public/common/content_features.h" |
45 #include "content/public/common/content_switches.h" | 45 #include "content/public/common/content_switches.h" |
46 #include "content/public/common/mojo_channel_switches.h" | 46 #include "content/public/common/mojo_channel_switches.h" |
47 #include "content/public/common/process_type.h" | 47 #include "content/public/common/process_type.h" |
48 #include "content/public/common/result_codes.h" | 48 #include "content/public/common/result_codes.h" |
49 #include "content/public/common/sandboxed_process_launcher_delegate.h" | 49 #include "content/public/common/sandboxed_process_launcher_delegate.h" |
50 #include "content/public/common/service_manager_connection.h" | 50 #include "content/public/common/service_manager_connection.h" |
51 #include "mojo/edk/embedder/embedder.h" | 51 #include "mojo/edk/embedder/embedder.h" |
52 #include "services/service_manager/public/cpp/interface_registry.h" | |
53 | 52 |
54 #if defined(OS_MACOSX) | 53 #if defined(OS_MACOSX) |
55 #include "content/browser/mach_broker_mac.h" | 54 #include "content/browser/mach_broker_mac.h" |
56 #endif | 55 #endif |
57 | 56 |
58 namespace content { | 57 namespace content { |
59 namespace { | 58 namespace { |
60 | 59 |
61 static base::LazyInstance< | 60 static base::LazyInstance< |
62 BrowserChildProcessHostImpl::BrowserChildProcessList>::DestructorAtExit | 61 BrowserChildProcessHostImpl::BrowserChildProcessList>::DestructorAtExit |
(...skipping 528 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
591 | 590 |
592 #if defined(OS_WIN) | 591 #if defined(OS_WIN) |
593 | 592 |
594 void BrowserChildProcessHostImpl::OnObjectSignaled(HANDLE object) { | 593 void BrowserChildProcessHostImpl::OnObjectSignaled(HANDLE object) { |
595 OnChildDisconnected(); | 594 OnChildDisconnected(); |
596 } | 595 } |
597 | 596 |
598 #endif | 597 #endif |
599 | 598 |
600 } // namespace content | 599 } // namespace content |
OLD | NEW |