|
Mojo C++ bindings: introduce MultiplexRouter and related classes.
MultiplexRouter supports routing messages for multiple interfaces over a single message pipe. It supports multi-thread access as well.
This is part of the work to support associated interfaces.
BUG= 546067
TEST=Newly added tests
Committed: https://crrev.com/5176a0cd84b342d3d9abcb6ec9060f05a1eaf57c
Cr-Commit-Position: refs/heads/master@{#360903}
Total comments: 49
Total comments: 7
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1856 lines, -151 lines) |
Patch |
|
M |
mojo/public/cpp/bindings/BUILD.gn
|
View
|
|
3 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
mojo/public/cpp/bindings/lib/connector.h
|
View
|
1
2
3
4
|
7 chunks |
+41 lines, -8 lines |
0 comments
|
Download
|
|
M |
mojo/public/cpp/bindings/lib/connector.cc
|
View
|
1
2
3
4
|
10 chunks |
+64 lines, -9 lines |
0 comments
|
Download
|
|
A |
mojo/public/cpp/bindings/lib/interface_endpoint_client.h
|
View
|
1
2
3
|
1 chunk |
+120 lines, -0 lines |
0 comments
|
Download
|
|
A |
mojo/public/cpp/bindings/lib/interface_endpoint_client.cc
|
View
|
1
2
3
|
1 chunk |
+218 lines, -0 lines |
0 comments
|
Download
|
|
A |
mojo/public/cpp/bindings/lib/multiplex_router.h
|
View
|
1
2
3
4
5
|
1 chunk |
+207 lines, -0 lines |
0 comments
|
Download
|
|
A |
mojo/public/cpp/bindings/lib/multiplex_router.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+519 lines, -0 lines |
0 comments
|
Download
|
|
M |
mojo/public/cpp/bindings/lib/router.cc
|
View
|
|
3 chunks |
+5 lines, -1 line |
0 comments
|
Download
|
|
A |
mojo/public/cpp/bindings/lib/scoped_interface_endpoint_handle.h
|
View
|
|
1 chunk |
+63 lines, -0 lines |
0 comments
|
Download
|
|
A |
mojo/public/cpp/bindings/lib/scoped_interface_endpoint_handle.cc
|
View
|
1
2
3
|
1 chunk |
+75 lines, -0 lines |
0 comments
|
Download
|
|
M |
mojo/public/cpp/bindings/tests/BUILD.gn
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
mojo/public/cpp/bindings/tests/connector_unittest.cc
|
View
|
|
11 chunks |
+44 lines, -22 lines |
0 comments
|
Download
|
|
A |
mojo/public/cpp/bindings/tests/multiplex_router_unittest.cc
|
View
|
|
1 chunk |
+297 lines, -0 lines |
0 comments
|
Download
|
|
A |
mojo/public/cpp/bindings/tests/router_test_util.h
|
View
|
|
1 chunk |
+81 lines, -0 lines |
0 comments
|
Download
|
|
A |
mojo/public/cpp/bindings/tests/router_test_util.cc
|
View
|
|
1 chunk |
+100 lines, -0 lines |
0 comments
|
Download
|
|
M |
mojo/public/cpp/bindings/tests/router_unittest.cc
|
View
|
|
2 chunks |
+1 line, -110 lines |
0 comments
|
Download
|
|
M |
mojo/public/cpp/bindings/tests/validation_unittest.cc
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
third_party/mojo/mojo_edk_tests.gyp
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
third_party/mojo/mojo_public.gyp
|
View
|
|
3 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
Total messages: 15 (5 generated)
|