Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(34)

Issue 1031243002: Unify the QUIC dispatcher and make the QuicServer work. (Closed)

Created:
5 years, 9 months ago by Ryan Hamilton
Modified:
5 years, 9 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

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}

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : Fix iOS #

Total comments: 2

Patch Set 4 : fix comments #

Patch Set 5 : Rebase #

Patch Set 6 : Rebase #

Patch Set 7 : Rebase #

Patch Set 8 : socket_utils.h #

Patch Set 9 : QuicChromeServerDispatchPacketTest #

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

Messages

Total messages: 23 (13 generated)
Ryan Hamilton
Yay!
5 years, 9 months ago (2015-03-25 22:15:07 UTC) #4
ramant (doing other things)
lgtm wow!. https://codereview.chromium.org/1031243002/diff/100001/net/tools/quic/quic_dispatcher.h File net/tools/quic/quic_dispatcher.h (right): https://codereview.chromium.org/1031243002/diff/100001/net/tools/quic/quic_dispatcher.h#newcode93 net/tools/quic/quic_dispatcher.h:93: // Called When the socket becomes writable ...
5 years, 9 months ago (2015-03-26 00:01:39 UTC) #6
Ryan Hamilton
Thanks! https://codereview.chromium.org/1031243002/diff/100001/net/tools/quic/quic_dispatcher.h File net/tools/quic/quic_dispatcher.h (right): https://codereview.chromium.org/1031243002/diff/100001/net/tools/quic/quic_dispatcher.h#newcode93 net/tools/quic/quic_dispatcher.h:93: // Called When the socket becomes writable to ...
5 years, 9 months ago (2015-03-26 03:50:26 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1031243002/180001
5 years, 9 months ago (2015-03-26 15:48:40 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/8923)
5 years, 9 months ago (2015-03-26 16:10:03 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1031243002/220001
5 years, 9 months ago (2015-03-26 16:46:51 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/8955)
5 years, 9 months ago (2015-03-26 17:05:17 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1031243002/240001
5 years, 9 months ago (2015-03-26 17:19:32 UTC) #21
commit-bot: I haz the power
Committed patchset #9 (id:240001)
5 years, 9 months ago (2015-03-26 19:51:09 UTC) #22
commit-bot: I haz the power
5 years, 9 months ago (2015-03-26 19:51:39 UTC) #23
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/c99f380cf23683b104ba8fa28265b85abfe69a53
Cr-Commit-Position: refs/heads/master@{#322450}

Powered by Google App Engine
This is Rietveld 408576698