Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(288)

Side by Side Diff: content/browser/browser_child_process_host_impl.cc

Issue 2594203004: Unifying ChildProcessLauncher across platforms. (Closed)
Patch Set: Clean-up. Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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"
(...skipping 27 matching lines...) Expand all
38 #include "content/public/browser/browser_child_process_observer.h" 38 #include "content/public/browser/browser_child_process_observer.h"
39 #include "content/public/browser/browser_thread.h" 39 #include "content/public/browser/browser_thread.h"
40 #include "content/public/browser/child_process_data.h" 40 #include "content/public/browser/child_process_data.h"
41 #include "content/public/browser/content_browser_client.h" 41 #include "content/public/browser/content_browser_client.h"
42 #include "content/public/common/connection_filter.h" 42 #include "content/public/common/connection_filter.h"
43 #include "content/public/common/content_features.h" 43 #include "content/public/common/content_features.h"
44 #include "content/public/common/content_switches.h" 44 #include "content/public/common/content_switches.h"
45 #include "content/public/common/mojo_channel_switches.h" 45 #include "content/public/common/mojo_channel_switches.h"
46 #include "content/public/common/process_type.h" 46 #include "content/public/common/process_type.h"
47 #include "content/public/common/result_codes.h" 47 #include "content/public/common/result_codes.h"
48 #include "content/public/common/sandboxed_process_launcher_delegate.h"
48 #include "content/public/common/service_manager_connection.h" 49 #include "content/public/common/service_manager_connection.h"
49 #include "mojo/edk/embedder/embedder.h" 50 #include "mojo/edk/embedder/embedder.h"
50 #include "services/service_manager/public/cpp/interface_registry.h" 51 #include "services/service_manager/public/cpp/interface_registry.h"
51 52
52 #if defined(OS_MACOSX) 53 #if defined(OS_MACOSX)
53 #include "content/browser/mach_broker_mac.h" 54 #include "content/browser/mach_broker_mac.h"
54 #endif 55 #endif
55 56
56 namespace content { 57 namespace content {
57 namespace { 58 namespace {
(...skipping 543 matching lines...) Expand 10 before | Expand all | Expand 10 after
601 602
602 #if defined(OS_WIN) 603 #if defined(OS_WIN)
603 604
604 void BrowserChildProcessHostImpl::OnObjectSignaled(HANDLE object) { 605 void BrowserChildProcessHostImpl::OnObjectSignaled(HANDLE object) {
605 OnChildDisconnected(); 606 OnChildDisconnected();
606 } 607 }
607 608
608 #endif 609 #endif
609 610
610 } // namespace content 611 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/android/child_process_launcher_android.cc ('k') | content/browser/child_process_launcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698