|
Allow mojo_runner to connect to arbitrary executables.
- Introduces a new scheme "exe" which loads an executable alongside mojo_runner. TODO is some more security checking around this to prevent arbitrary apps from launching executables but since this is implemented in mojo_runner it's not in any production code right now.
- Includes an apptest of a .mojo app that connects to an executable and binds a service provided by it.
- Creates a new child library that makes it easy to bring up a runner controller thread in an arbitrary executable.
R=jam@chromium.org
http://crbug.com/548694
Committed: https://crrev.com/48799d724056efafd4bc7faa6e77459fbd1efad0
Cr-Commit-Position: refs/heads/master@{#357034}
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+618 lines, -64 lines) |
Patch |
 |
M |
mojo/application/public/cpp/BUILD.gn
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
mojo/fetcher/url_resolver.cc
|
View
|
1
2
3
|
1 chunk |
+17 lines, -7 lines |
0 comments
|
Download
|
 |
M |
mojo/runner/BUILD.gn
|
View
|
|
8 chunks |
+10 lines, -25 lines |
0 comments
|
Download
|
 |
A |
mojo/runner/child/BUILD.gn
|
View
|
1
2
|
1 chunk |
+97 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
mojo/runner/child/child_controller.mojom
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
 |
A |
mojo/runner/child/native_apptest.cc
|
View
|
1
2
|
1 chunk |
+42 lines, -0 lines |
0 comments
|
Download
|
 |
A |
mojo/runner/child/native_apptest_target.cc
|
View
|
1
2
|
1 chunk |
+126 lines, -0 lines |
0 comments
|
Download
|
 |
A |
mojo/runner/child/runner_connection.h
|
View
|
|
1 chunk |
+39 lines, -0 lines |
0 comments
|
Download
|
 |
A |
mojo/runner/child/runner_connection.cc
|
View
|
|
1 chunk |
+257 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
mojo/runner/child/test_native_service.mojom
|
View
|
1
2
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
mojo/runner/child_process.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
D |
mojo/runner/child_process.mojom
|
View
|
|
1 chunk |
+0 lines, -15 lines |
0 comments
|
Download
|
 |
M |
mojo/runner/child_process_host.h
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
mojo/runner/child_process_host.cc
|
View
|
1
2
3
|
1 chunk |
+11 lines, -2 lines |
0 comments
|
Download
|
 |
M |
mojo/runner/in_process_native_runner.h
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
mojo/runner/in_process_native_runner.cc
|
View
|
|
2 chunks |
+6 lines, -1 line |
0 comments
|
Download
|
 |
M |
mojo/runner/native_runner_unittest.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
mojo/runner/out_of_process_native_runner.h
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
mojo/runner/out_of_process_native_runner.cc
|
View
|
1
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
mojo/shell/application_manager.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
mojo/shell/native_runner.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 12 (5 generated)
|