|
Implementation and fixes for Blimp client/engine E2E communication.
This CL allows the Linux client and engine to connect and perform the auth handshake.
* Add Blimp net components to Linux client.
* Add a getter for the common client ConnectionManager, to allow it to be accessed and modified by platform impl code.
* client: replaced interim feature mappings with NullProcessors until the MessagePipe is wired in.
* BlimpConnection: add verbose logging lines.
* BlimpConnection: make DrainableIOBuffers throwaway, while only reusing the IOBuffer.
* BlimpConnection: propagate errors to ObserverList
* BlimpConnection: add WeakPtr to BlimpMessageSender to fix use-after-free callback error.
* BlimpMessageDemultiplexer: fix bug in error handling for the missing receiver case, add unit test to verify fix
* BlimpMessagePump: add error handling path.
* ClientConnectionManager: add ErrorObserver handling logic.
* StreamPacketReader: remap EOF result to a net::Error to distinguish it from net::OK. (Ugh, conflating success/error codes, yuck.)
BUG=
R=haibinlu@chromium.org
Committed: https://crrev.com/af9548724a29784a397c1902ecc798a1e2093850
Cr-Commit-Position: refs/heads/master@{#367429}
Total comments: 40
Total comments: 25
Total comments: 1
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+386 lines, -137 lines) |
Patch |
 |
M |
blimp/client/BUILD.gn
|
View
|
1
2
3
4
|
3 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
blimp/client/linux/blimp_main.cc
|
View
|
1
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
blimp/client/session/blimp_client_session.h
|
View
|
1
2
|
2 chunks |
+15 lines, -4 lines |
0 comments
|
Download
|
 |
M |
blimp/client/session/blimp_client_session.cc
|
View
|
1
2
3
4
|
1 chunk |
+77 lines, -16 lines |
0 comments
|
Download
|
 |
M |
blimp/engine/app/blimp_content_main_delegate.cc
|
View
|
1
|
2 chunks |
+18 lines, -0 lines |
0 comments
|
Download
|
 |
M |
blimp/engine/app/blimp_main.cc
|
View
|
1
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
blimp/engine/browser/blimp_engine_session.h
|
View
|
1
|
3 chunks |
+5 lines, -2 lines |
0 comments
|
Download
|
 |
M |
blimp/engine/browser/blimp_engine_session.cc
|
View
|
1
2
|
7 chunks |
+22 lines, -21 lines |
0 comments
|
Download
|
 |
M |
blimp/net/blimp_connection.h
|
View
|
1
2
|
2 chunks |
+13 lines, -5 lines |
0 comments
|
Download
|
 |
M |
blimp/net/blimp_connection.cc
|
View
|
1
2
|
4 chunks |
+46 lines, -13 lines |
0 comments
|
Download
|
 |
M |
blimp/net/blimp_connection_unittest.cc
|
View
|
1
2
|
3 chunks |
+13 lines, -3 lines |
0 comments
|
Download
|
 |
M |
blimp/net/blimp_message_demultiplexer.cc
|
View
|
1
|
2 chunks |
+3 lines, -9 lines |
0 comments
|
Download
|
 |
M |
blimp/net/blimp_message_demultiplexer_unittest.cc
|
View
|
1
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
blimp/net/blimp_message_output_buffer.cc
|
View
|
1
|
4 chunks |
+9 lines, -7 lines |
0 comments
|
Download
|
 |
M |
blimp/net/blimp_message_pump.h
|
View
|
1
2
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
blimp/net/blimp_message_pump.cc
|
View
|
|
4 chunks |
+10 lines, -2 lines |
0 comments
|
Download
|
 |
M |
blimp/net/browser_connection_handler.cc
|
View
|
1
2
|
1 chunk |
+14 lines, -16 lines |
0 comments
|
Download
|
 |
M |
blimp/net/browser_connection_handler_unittest.cc
|
View
|
1
|
2 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
blimp/net/client_connection_manager.h
|
View
|
1
|
4 chunks |
+22 lines, -3 lines |
0 comments
|
Download
|
 |
M |
blimp/net/client_connection_manager.cc
|
View
|
1
|
5 chunks |
+30 lines, -8 lines |
0 comments
|
Download
|
 |
M |
blimp/net/client_connection_manager_unittest.cc
|
View
|
|
5 chunks |
+14 lines, -3 lines |
0 comments
|
Download
|
 |
M |
blimp/net/common.h
|
View
|
1
2
3
4
5
|
2 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
blimp/net/common.cc
|
View
|
1
2
3
4
|
1 chunk |
+12 lines, -0 lines |
0 comments
|
Download
|
 |
M |
blimp/net/engine_authentication_handler.cc
|
View
|
1
|
3 chunks |
+11 lines, -5 lines |
0 comments
|
Download
|
 |
M |
blimp/net/engine_authentication_handler_unittest.cc
|
View
|
1
|
6 chunks |
+4 lines, -13 lines |
0 comments
|
Download
|
 |
M |
blimp/net/null_blimp_message_processor.cc
|
View
|
1
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
blimp/net/stream_packet_reader.cc
|
View
|
1
|
2 chunks |
+11 lines, -4 lines |
0 comments
|
Download
|
 |
M |
blimp/net/test_common.h
|
View
|
1
2
|
1 chunk |
+5 lines, -1 line |
0 comments
|
Download
|
Total messages: 15 (5 generated)
|