|
Mojo EDK: Add safe process connection API
Replaces ad hoc ChildProcessLaunched etc functions and "child tokens"
with a scoping PendingProcessConnection object. This encapsulates the
concept of a process to which we intend to connect (e.g. so we can start
vending message pipe handles for it) but which may not yet be reachable,
and it ensures that any associated resources are reliably cleaned
up in the event that we never actually connect to the process.
This API also begins an intentional departure from the now-inaccurate
naming conventions of "parent" and "child" used at the EDK layer to
refer to some relative process relationships.
BUG= 682794
Review-Url: https://codereview.chromium.org/2680973006
Cr-Commit-Position: refs/heads/master@{#449457}
Committed: https://chromium.googlesource.com/chromium/src/+/1039b82bdad1ce37bd6716636e918f475ed50d13
Total comments: 6
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+365 lines, -294 lines) |
Patch |
 |
M |
chrome/browser/chromeos/arc/video/gpu_arc_video_service_host.cc
|
View
|
|
3 chunks |
+5 lines, -11 lines |
0 comments
|
Download
|
 |
M |
chrome/service/service_utility_process_host.h
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/service/service_utility_process_host.cc
|
View
|
1
|
3 chunks |
+4 lines, -9 lines |
0 comments
|
Download
|
 |
M |
chrome/test/base/mojo_test_connector.cc
|
View
|
1
|
5 chunks |
+6 lines, -7 lines |
0 comments
|
Download
|
 |
M |
chrome/utility/importer/firefox_importer_unittest_utils_mac.cc
|
View
|
|
2 chunks |
+8 lines, -15 lines |
0 comments
|
Download
|
 |
M |
components/arc/arc_session.cc
|
View
|
1
|
3 chunks |
+7 lines, -5 lines |
0 comments
|
Download
|
 |
M |
components/nacl/broker/nacl_broker_listener.cc
|
View
|
|
4 chunks |
+9 lines, -11 lines |
0 comments
|
Download
|
 |
M |
content/browser/browser_child_process_host_impl.h
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/browser_child_process_host_impl.cc
|
View
|
1
|
3 chunks |
+8 lines, -6 lines |
0 comments
|
Download
|
 |
M |
content/browser/child_process_launcher.h
|
View
|
|
3 chunks |
+3 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/browser/child_process_launcher.cc
|
View
|
1
2
|
3 chunks |
+12 lines, -7 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_process_host_impl.h
|
View
|
1
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_process_host_impl.cc
|
View
|
1
2
|
4 chunks |
+5 lines, -6 lines |
0 comments
|
Download
|
 |
M |
content/common/child_process_host_impl.h
|
View
|
1
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/common/child_process_host_impl.cc
|
View
|
1
|
1 chunk |
+4 lines, -7 lines |
0 comments
|
Download
|
 |
M |
content/common/service_manager/child_connection.h
|
View
|
1
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/common/service_manager/child_connection.cc
|
View
|
1
|
2 chunks |
+4 lines, -16 lines |
0 comments
|
Download
|
 |
M |
content/public/common/BUILD.gn
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/public/common/child_process_host.h
|
View
|
1
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/renderer/render_thread_impl_browsertest.cc
|
View
|
1
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
mojo/edk/embedder/BUILD.gn
|
View
|
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
mojo/edk/embedder/embedder.h
|
View
|
|
4 chunks |
+9 lines, -42 lines |
0 comments
|
Download
|
 |
M |
mojo/edk/embedder/embedder.cc
|
View
|
|
2 chunks |
+0 lines, -26 lines |
0 comments
|
Download
|
 |
M |
mojo/edk/embedder/embedder_unittest.cc
|
View
|
|
5 chunks |
+18 lines, -19 lines |
0 comments
|
Download
|
 |
M |
mojo/edk/embedder/named_platform_channel_pair.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
A |
mojo/edk/embedder/pending_process_connection.h
|
View
|
1
|
1 chunk |
+123 lines, -0 lines |
0 comments
|
Download
|
 |
A |
mojo/edk/embedder/pending_process_connection.cc
|
View
|
1
|
1 chunk |
+50 lines, -0 lines |
0 comments
|
Download
|
 |
M |
mojo/edk/test/multiprocess_test_helper.cc
|
View
|
|
4 chunks |
+7 lines, -9 lines |
0 comments
|
Download
|
 |
M |
remoting/host/win/unprivileged_process_delegate.cc
|
View
|
|
3 chunks |
+5 lines, -9 lines |
0 comments
|
Download
|
 |
M |
remoting/host/win/wts_session_process_delegate.cc
|
View
|
1
|
6 chunks |
+11 lines, -16 lines |
0 comments
|
Download
|
 |
M |
services/service_manager/README.md
|
View
|
|
3 chunks |
+9 lines, -17 lines |
0 comments
|
Download
|
 |
M |
services/service_manager/runner/common/BUILD.gn
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
services/service_manager/runner/common/client_util.h
|
View
|
1
|
1 chunk |
+12 lines, -7 lines |
0 comments
|
Download
|
 |
M |
services/service_manager/runner/common/client_util.cc
|
View
|
1
|
1 chunk |
+6 lines, -7 lines |
0 comments
|
Download
|
 |
M |
services/service_manager/runner/host/service_process_launcher.h
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
services/service_manager/runner/host/service_process_launcher.cc
|
View
|
1
|
3 chunks |
+4 lines, -8 lines |
0 comments
|
Download
|
 |
M |
services/service_manager/tests/service_manager/service_manager_unittest.cc
|
View
|
1
|
3 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
services/service_manager/tests/util.cc
|
View
|
|
2 chunks |
+6 lines, -12 lines |
0 comments
|
Download
|
Dependent Patchsets:
Total messages: 71 (59 generated)
|