|
Unify the QUIC dispatcher and make the QuicServer work.
Initialize the QuicDispatcher with a PacketWriter instead of an int fd.
QuicDispatcher::Initialize() used to take an fd which chromium does not make
use of. Instead, it should simply take a PacketWriter* which the caller
should be responsible for creating. Renamed Initialize() to
InitializeWithWriter() to reflect this. Removed the CreateWriter() method
from the QuicDispatcher and moved it to QuicServer.
Merge internal change: 89495510
Committed: https://crrev.com/c99f380cf23683b104ba8fa28265b85abfe69a53
Cr-Commit-Position: refs/heads/master@{#322450}
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+85 lines, -54 lines) |
Patch |
 |
M |
net/BUILD.gn
|
View
|
1
2
3
4
5
|
4 chunks |
+4 lines, -6 lines |
0 comments
|
Download
|
 |
M |
net/net.gyp
|
View
|
1
2
3
4
5
|
4 chunks |
+6 lines, -8 lines |
0 comments
|
Download
|
 |
M |
net/quic/quic_server.h
|
View
|
|
3 chunks |
+5 lines, -2 lines |
0 comments
|
Download
|
 |
M |
net/quic/quic_server.cc
|
View
|
1
2
|
3 chunks |
+37 lines, -3 lines |
0 comments
|
Download
|
 |
M |
net/quic/quic_server_test.cc
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+3 lines, -4 lines |
0 comments
|
Download
|
 |
M |
net/quic/test_tools/mock_quic_dispatcher.h
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
net/quic/test_tools/quic_test_utils.h
|
View
|
1
|
3 chunks |
+7 lines, -6 lines |
0 comments
|
Download
|
 |
M |
net/quic/test_tools/quic_test_utils.cc
|
View
|
|
4 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
net/tools/quic/quic_dispatcher.h
|
View
|
1
2
3
|
4 chunks |
+5 lines, -7 lines |
0 comments
|
Download
|
 |
M |
net/tools/quic/quic_dispatcher.cc
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+2 lines, -10 lines |
0 comments
|
Download
|
 |
M |
net/tools/quic/quic_dispatcher_test.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
net/tools/quic/quic_server.h
|
View
|
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
net/tools/quic/quic_server.cc
|
View
|
|
1 chunk |
+5 lines, -1 line |
0 comments
|
Download
|
 |
M |
net/tools/quic/quic_server_test.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 23 (13 generated)
|