|
|
Remove ShellConnection::WaitForInitialize
This changes ShellClient::Initialize to expect a
response with an optional Connector request rather
than a ConnectorPtr being passed in with the call.
This allows clients to create their own Connector
pipe and lazily connect it to the shell thus
avoiding any practical need to wait for an
Initialize message.
Additionally:
- Client instances no longer die on the first
Connector pipe error: instead an Instance is
kept alive by the shell as long as either the
ShellClient pipe is connected OR any Connector
pipes are connected.
- ShellClientFactory endpoints are now strongly
typed instead of being raw message pipe
handles.
- Some uses of MessagePumpMojo near other changes
in this CL have been opportunistically removed.
BUG= 591742
Committed: https://crrev.com/35f7270e84da5abb0f7895304a53d632efbbfe71
Cr-Commit-Position: refs/heads/master@{#380909}
Total comments: 3
Total comments: 6
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+234 lines, -367 lines) |
Patch |
 |
M |
chrome/app/mash/mash_runner.cc
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
components/mus/ws/window_tree_client_unittest.cc
|
View
|
1
|
2 chunks |
+1 line, -5 lines |
0 comments
|
Download
|
 |
M |
content/browser/BUILD.gn
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/browser_main_loop.cc
|
View
|
1
2
3
|
2 chunks |
+7 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_process_host_impl.cc
|
View
|
1
2
3
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/child/BUILD.gn
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/child/child_thread_impl.cc
|
View
|
1
2
3
|
1 chunk |
+2 lines, -11 lines |
0 comments
|
Download
|
 |
M |
content/common/mojo/mojo_shell_connection_impl.h
|
View
|
1
2
3
|
2 chunks |
+6 lines, -16 lines |
0 comments
|
Download
|
 |
M |
content/common/mojo/mojo_shell_connection_impl.cc
|
View
|
1
2
3
|
4 chunks |
+13 lines, -31 lines |
0 comments
|
Download
|
 |
M |
content/content_browser.gypi
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/content_child.gypi
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/public/common/content_switches.h
|
View
|
1
2
3
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/public/common/content_switches.cc
|
View
|
1
2
3
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
mash/example/window_type_launcher/main.cc
|
View
|
1
2
3
|
2 chunks |
+5 lines, -7 lines |
0 comments
|
Download
|
 |
M |
mojo/edk/embedder/embedder.h
|
View
|
1
2
3
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
mojo/edk/embedder/embedder.cc
|
View
|
1
2
3
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
mojo/shell/background/tests/background_shell_unittest.cc
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
mojo/shell/public/cpp/lib/application_test_base.cc
|
View
|
|
5 chunks |
+13 lines, -5 lines |
0 comments
|
Download
|
 |
M |
mojo/shell/public/cpp/lib/shell_connection.cc
|
View
|
1
|
2 chunks |
+31 lines, -16 lines |
0 comments
|
Download
|
 |
M |
mojo/shell/public/cpp/lib/shell_test.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
mojo/shell/public/cpp/shell_connection.h
|
View
|
1
|
3 chunks |
+24 lines, -11 lines |
0 comments
|
Download
|
 |
M |
mojo/shell/public/interfaces/shell_client.mojom
|
View
|
|
2 chunks |
+8 lines, -5 lines |
0 comments
|
Download
|
 |
M |
mojo/shell/runner/child/BUILD.gn
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
mojo/shell/runner/child/runner_connection.h
|
View
|
1
2
3
|
1 chunk |
+21 lines, -15 lines |
0 comments
|
Download
|
 |
M |
mojo/shell/runner/child/runner_connection.cc
|
View
|
1
2
3
|
3 chunks |
+28 lines, -215 lines |
0 comments
|
Download
|
 |
M |
mojo/shell/runner/child/test_native_main.cc
|
View
|
1
2
3
|
2 chunks |
+5 lines, -7 lines |
0 comments
|
Download
|
 |
M |
mojo/shell/shell.cc
|
View
|
1
2
3
4
|
4 chunks |
+30 lines, -6 lines |
0 comments
|
Download
|
 |
M |
mojo/shell/tests/shell/shell_unittest.cc
|
View
|
|
5 chunks |
+11 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/views/mus/platform_test_helper_mus.cc
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/views/mus/screen_mus.h
|
View
|
1
2
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/views/mus/screen_mus.cc
|
View
|
1
2
|
3 chunks |
+6 lines, -2 lines |
0 comments
|
Download
|
Dependent Patchsets:
Total messages: 16 (6 generated)
|