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

Issue 1648763002: Create QuicSession (Closed)

Created:
4 years, 10 months ago by mikescarlett
Modified:
4 years, 10 months ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Create QuicSession This CL depends on the unofficial libquic (https://github.com/devsisters/libquic), with subtle modifications. BUG= Committed: https://crrev.com/cd0e4751b2fdfd646f12412543ed318d4f03bee5 Cr-Commit-Position: refs/heads/master@{#11530}

Patch Set 1 #

Total comments: 24

Patch Set 2 : Add conditional QUIC build using GYP #

Patch Set 3 : Cleanup, more unit tests, and move files to different directory #

Patch Set 4 : Improve QuicAlarm unit test #

Patch Set 5 : Fix broken unit tests #

Total comments: 18

Patch Set 6 : Improve unit tests #

Total comments: 2

Patch Set 7 : Modify ReliableQuicStream unit test to use string directly #

Patch Set 8 : Modify QuicSession unit test string comparison asserts #

Total comments: 40

Patch Set 9 : Cleanup in response to Taylor's comments #

Patch Set 10 : Change header include order #

Patch Set 11 : Sync webrtc/build/common.gypi to fix patch issue #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1306 lines, -0 lines) Patch
M webrtc/build/common.gypi View 1 2 3 4 5 6 7 8 9 10 1 chunk +3 lines, -0 lines 0 comments Download
M webrtc/p2p/p2p.gyp View 1 2 1 chunk +16 lines, -0 lines 0 comments Download
M webrtc/p2p/p2p_tests.gypi View 1 2 1 chunk +9 lines, -0 lines 0 comments Download
A webrtc/p2p/quic/quicconnectionhelper.h View 1 2 3 4 5 6 7 8 1 chunk +66 lines, -0 lines 0 comments Download
A webrtc/p2p/quic/quicconnectionhelper.cc View 1 2 3 4 5 6 7 8 1 chunk +74 lines, -0 lines 0 comments Download
A webrtc/p2p/quic/quicconnectionhelper_unittest.cc View 1 2 3 4 5 6 7 8 9 1 chunk +123 lines, -0 lines 0 comments Download
A webrtc/p2p/quic/quicsession.h View 1 2 3 4 5 6 7 8 9 1 chunk +94 lines, -0 lines 0 comments Download
A webrtc/p2p/quic/quicsession.cc View 1 2 3 4 5 6 7 8 1 chunk +103 lines, -0 lines 0 comments Download
A webrtc/p2p/quic/quicsession_unittest.cc View 1 2 3 4 5 6 7 8 9 1 chunk +462 lines, -0 lines 0 comments Download
A webrtc/p2p/quic/reliablequicstream.h View 1 2 3 4 5 6 7 8 1 chunk +50 lines, -0 lines 0 comments Download
A webrtc/p2p/quic/reliablequicstream.cc View 1 2 3 4 5 6 7 8 1 chunk +51 lines, -0 lines 0 comments Download
A webrtc/p2p/quic/reliablequicstream_unittest.cc View 1 2 3 4 5 6 7 8 9 1 chunk +255 lines, -0 lines 0 comments Download

Messages

Total messages: 64 (36 generated)
mikescarlett
4 years, 10 months ago (2016-01-28 23:44:08 UTC) #3
pthatcher1
I haven't read the unit test yet, but it's likely very good for a first ...
4 years, 10 months ago (2016-01-30 03:01:53 UTC) #4
mikescarlett
I have addressed your comments, added more unit tests, and modified the build files. https://codereview.webrtc.org/1648763002/diff/1/webrtc/p2p/base/quicconnectionhelper.cc ...
4 years, 10 months ago (2016-02-03 17:41:01 UTC) #6
pthatcher1
This is looking very good. Only minor things left. https://codereview.webrtc.org/1648763002/diff/100001/webrtc/p2p/quic/quicconnectionhelper_unittest.cc File webrtc/p2p/quic/quicconnectionhelper_unittest.cc (right): https://codereview.webrtc.org/1648763002/diff/100001/webrtc/p2p/quic/quicconnectionhelper_unittest.cc#newcode52 webrtc/p2p/quic/quicconnectionhelper_unittest.cc:52: ...
4 years, 10 months ago (2016-02-03 23:27:24 UTC) #8
mikescarlett
This is ready for further review. https://codereview.webrtc.org/1648763002/diff/100001/webrtc/p2p/quic/quicconnectionhelper_unittest.cc File webrtc/p2p/quic/quicconnectionhelper_unittest.cc (right): https://codereview.webrtc.org/1648763002/diff/100001/webrtc/p2p/quic/quicconnectionhelper_unittest.cc#newcode52 webrtc/p2p/quic/quicconnectionhelper_unittest.cc:52: class MockDelegate : ...
4 years, 10 months ago (2016-02-05 21:10:29 UTC) #9
pthatcher1
looks good, just one little tweak in the unit test. I should have asked Taylor ...
4 years, 10 months ago (2016-02-05 21:32:34 UTC) #11
pthatcher1
Ooops... let's try that again. Taylor, can you review this CL as well?
4 years, 10 months ago (2016-02-05 21:33:35 UTC) #13
mikescarlett
https://codereview.webrtc.org/1648763002/diff/100001/webrtc/p2p/quic/reliablequicstream_unittest.cc File webrtc/p2p/quic/reliablequicstream_unittest.cc (right): https://codereview.webrtc.org/1648763002/diff/100001/webrtc/p2p/quic/reliablequicstream_unittest.cc#newcode196 webrtc/p2p/quic/reliablequicstream_unittest.cc:196: std::vector<std::string> read_buffer_; On 2016/02/05 21:32:34, pthatcher1 wrote: > On ...
4 years, 10 months ago (2016-02-05 22:12:29 UTC) #19
Taylor Brandstetter
Looks great; you were very thorough. I just found some assorted nits, and a couple ...
4 years, 10 months ago (2016-02-06 00:22:45 UTC) #20
pthatcher1
https://codereview.webrtc.org/1648763002/diff/280001/webrtc/p2p/quic/quicsession.cc File webrtc/p2p/quic/quicsession.cc (right): https://codereview.webrtc.org/1648763002/diff/280001/webrtc/p2p/quic/quicsession.cc#newcode55 webrtc/p2p/quic/quicsession.cc:55: LOG(INFO) << "QuicSession handshake complete"; On 2016/02/06 00:22:44, Taylor ...
4 years, 10 months ago (2016-02-06 00:40:29 UTC) #21
mikescarlett
I fixed most of these. I was unsure what the order of includes usually is ...
4 years, 10 months ago (2016-02-06 02:14:09 UTC) #22
pthatcher1
lgtm https://codereview.webrtc.org/1648763002/diff/280001/webrtc/p2p/quic/reliablequicstream_unittest.cc File webrtc/p2p/quic/reliablequicstream_unittest.cc (right): https://codereview.webrtc.org/1648763002/diff/280001/webrtc/p2p/quic/reliablequicstream_unittest.cc#newcode168 webrtc/p2p/quic/reliablequicstream_unittest.cc:168: bool owns_writer = false; On 2016/02/06 02:14:09, mikescarlett ...
4 years, 10 months ago (2016-02-08 19:19:59 UTC) #25
Taylor Brandstetter
lgtm
4 years, 10 months ago (2016-02-08 20:51:22 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1648763002/360001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1648763002/360001
4 years, 10 months ago (2016-02-08 22:46:31 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: ios32_sim_dbg on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/ios32_sim_dbg/builds/5010) ios64_sim_dbg on tryserver.webrtc (JOB_FAILED, ...
4 years, 10 months ago (2016-02-08 22:46:54 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1648763002/360001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1648763002/360001
4 years, 10 months ago (2016-02-08 23:07:06 UTC) #32
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1648763002/360001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1648763002/360001
4 years, 10 months ago (2016-02-08 23:07:38 UTC) #34
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_arm64_rel on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_arm64_rel/builds/5388) android_compile_x86_dbg on ...
4 years, 10 months ago (2016-02-08 23:09:00 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1648763002/380001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1648763002/380001
4 years, 10 months ago (2016-02-08 23:26:22 UTC) #39
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1648763002/380001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1648763002/380001
4 years, 10 months ago (2016-02-08 23:27:01 UTC) #42
commit-bot: I haz the power
Try jobs failed on following builders: ios64_sim_dbg on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/ios64_sim_dbg/builds/5009) ios_arm64_dbg on tryserver.webrtc (JOB_FAILED, ...
4 years, 10 months ago (2016-02-08 23:27:31 UTC) #44
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1648763002/400001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1648763002/400001
4 years, 10 months ago (2016-02-08 23:39:19 UTC) #48
commit-bot: I haz the power
Try jobs failed on following builders: ios_arm64_dbg on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/ios_arm64_dbg/builds/7337) ios_arm64_rel on tryserver.webrtc (JOB_FAILED, ...
4 years, 10 months ago (2016-02-08 23:40:40 UTC) #50
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1648763002/420001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1648763002/420001
4 years, 10 months ago (2016-02-08 23:50:07 UTC) #54
commit-bot: I haz the power
Try jobs failed on following builders: ios64_sim_dbg on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/ios64_sim_dbg/builds/5011) ios_dbg on tryserver.webrtc (JOB_FAILED, ...
4 years, 10 months ago (2016-02-08 23:51:29 UTC) #56
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1648763002/440001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1648763002/440001
4 years, 10 months ago (2016-02-09 00:35:17 UTC) #60
commit-bot: I haz the power
Committed patchset #11 (id:440001)
4 years, 10 months ago (2016-02-09 01:35:52 UTC) #62
commit-bot: I haz the power
4 years, 10 months ago (2016-02-09 01:36:06 UTC) #64
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/cd0e4751b2fdfd646f12412543ed318d4f03bee5
Cr-Commit-Position: refs/heads/master@{#11530}

Powered by Google App Engine
This is Rietveld 408576698