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

Side by Side Diff: components/nacl/browser/nacl_process_host.cc

Issue 2389193004: Always use ChannelMojo for content child processes. (Closed)
Patch Set: Created 4 years, 2 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 "components/nacl/browser/nacl_process_host.h" 5 #include "components/nacl/browser/nacl_process_host.h"
6 6
7 #include <string.h> 7 #include <string.h>
8 #include <algorithm> 8 #include <algorithm>
9 #include <string> 9 #include <string>
10 #include <utility> 10 #include <utility>
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 #include "content/public/browser/child_process_data.h" 47 #include "content/public/browser/child_process_data.h"
48 #include "content/public/browser/plugin_service.h" 48 #include "content/public/browser/plugin_service.h"
49 #include "content/public/browser/render_process_host.h" 49 #include "content/public/browser/render_process_host.h"
50 #include "content/public/browser/web_contents.h" 50 #include "content/public/browser/web_contents.h"
51 #include "content/public/common/child_process_host.h" 51 #include "content/public/common/child_process_host.h"
52 #include "content/public/common/content_switches.h" 52 #include "content/public/common/content_switches.h"
53 #include "content/public/common/mojo_channel_switches.h" 53 #include "content/public/common/mojo_channel_switches.h"
54 #include "content/public/common/process_type.h" 54 #include "content/public/common/process_type.h"
55 #include "content/public/common/sandboxed_process_launcher_delegate.h" 55 #include "content/public/common/sandboxed_process_launcher_delegate.h"
56 #include "ipc/ipc_channel.h" 56 #include "ipc/ipc_channel.h"
57 #include "ipc/ipc_switches.h"
58 #include "mojo/edk/embedder/embedder.h" 57 #include "mojo/edk/embedder/embedder.h"
59 #include "net/socket/socket_descriptor.h" 58 #include "net/socket/socket_descriptor.h"
60 #include "ppapi/host/host_factory.h" 59 #include "ppapi/host/host_factory.h"
61 #include "ppapi/host/ppapi_host.h" 60 #include "ppapi/host/ppapi_host.h"
62 #include "ppapi/proxy/ppapi_messages.h" 61 #include "ppapi/proxy/ppapi_messages.h"
63 #include "ppapi/shared_impl/ppapi_constants.h" 62 #include "ppapi/shared_impl/ppapi_constants.h"
64 #include "ppapi/shared_impl/ppapi_nacl_plugin_args.h" 63 #include "ppapi/shared_impl/ppapi_nacl_plugin_args.h"
65 64
66 #if defined(OS_POSIX) 65 #if defined(OS_POSIX)
67 66
(...skipping 1231 matching lines...) Expand 10 before | Expand all | Expand 10 after
1299 NaClStartDebugExceptionHandlerThread( 1298 NaClStartDebugExceptionHandlerThread(
1300 std::move(process), info, base::ThreadTaskRunnerHandle::Get(), 1299 std::move(process), info, base::ThreadTaskRunnerHandle::Get(),
1301 base::Bind(&NaClProcessHost::OnDebugExceptionHandlerLaunchedByBroker, 1300 base::Bind(&NaClProcessHost::OnDebugExceptionHandlerLaunchedByBroker,
1302 weak_factory_.GetWeakPtr())); 1301 weak_factory_.GetWeakPtr()));
1303 return true; 1302 return true;
1304 } 1303 }
1305 } 1304 }
1306 #endif 1305 #endif
1307 1306
1308 } // namespace nacl 1307 } // namespace nacl
OLDNEW
« no previous file with comments | « components/nacl/browser/nacl_broker_host_win.cc ('k') | components/nacl/loader/nacl_helper_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698