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

Issue 588443002: QUIC - minor reorg of QuicCryptoClientStream::DoHandshakeLoop. (Closed)

Created:
6 years, 3 months ago by ramant (doing other things)
Modified:
6 years, 2 months ago
Reviewers:
agl, Ryan Hamilton
CC:
chromium-reviews, cbentzel+watch_chromium.org, rjshade, wtc
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

QUIC - minor reorg of QuicCryptoClientStream::DoHandshakeLoop. Added Do... methods for each state in DoHandshakeLoop (similar to the conventions that we typically use in our state machines). DoVerifyProof and DoGetChannelID which could do async operation return QuicAsyncStatus. In DoHandshakeLoop changed "for (;;) {" to be similar to other do { ...} while loops of other state machines in chromium. R=rch@chromium.org,agl@chromium.org Committed: https://crrev.com/46f73cea6f512782fff8697cbdc5c8bdb1b63edd Cr-Commit-Position: refs/heads/master@{#297316}

Patch Set 1 #

Total comments: 4

Patch Set 2 : #

Patch Set 3 : Return QuicAsyncStatus for async Do... methods #

Unified diffs Side-by-side diffs Delta from patch set Stats (+325 lines, -269 lines) Patch
M net/quic/quic_crypto_client_stream.h View 1 2 2 chunks +32 lines, -10 lines 0 comments Download
M net/quic/quic_crypto_client_stream.cc View 1 2 4 chunks +293 lines, -259 lines 0 comments Download

Messages

Total messages: 33 (15 generated)
ramant (doing other things)
6 years, 3 months ago (2014-09-19 03:08:03 UTC) #1
ramant (doing other things)
Hi Ryan and Adam, This CL doesn't make any functional change (just moving code into ...
6 years, 3 months ago (2014-09-19 03:13:07 UTC) #2
agl
https://codereview.chromium.org/588443002/diff/1/net/quic/quic_crypto_client_stream.cc File net/quic/quic_crypto_client_stream.cc (right): https://codereview.chromium.org/588443002/diff/1/net/quic/quic_crypto_client_stream.cc#newcode204 net/quic/quic_crypto_client_stream.cc:204: if (QUIC_SUCCESS != DoGetChannelID(cached)) { In other cases you ...
6 years, 3 months ago (2014-09-19 17:26:53 UTC) #4
ramant (doing other things)
https://codereview.chromium.org/588443002/diff/1/net/quic/quic_crypto_client_stream.cc File net/quic/quic_crypto_client_stream.cc (right): https://codereview.chromium.org/588443002/diff/1/net/quic/quic_crypto_client_stream.cc#newcode204 net/quic/quic_crypto_client_stream.cc:204: if (QUIC_SUCCESS != DoGetChannelID(cached)) { On 2014/09/19 17:26:52, agl ...
6 years, 3 months ago (2014-09-19 21:25:25 UTC) #5
agl
(Please ping when ready for review.)
6 years, 3 months ago (2014-09-20 00:13:14 UTC) #6
ramant (doing other things)
PTAL. thanks.
6 years, 3 months ago (2014-09-23 22:55:03 UTC) #8
ramant (doing other things)
On 2014/09/23 22:55:03, ramant wrote: > PTAL. thanks. Please don't review this CL yet. thanks.
6 years, 3 months ago (2014-09-23 23:05:47 UTC) #10
ramant (doing other things)
Hi Ryan, I have moved the code into Do... methods (would like to tighten the ...
6 years, 3 months ago (2014-09-24 03:50:20 UTC) #17
Ryan Hamilton
Hm, I notice that you're returning net error codes. I don't think we have access ...
6 years, 3 months ago (2014-09-24 15:36:48 UTC) #18
ramant (doing other things)
Hi Ryan and Adam, Sorry for the delay in sending this review (was working on ...
6 years, 2 months ago (2014-09-27 02:34:44 UTC) #22
Ryan Hamilton
LGTM. The structure looks great! I confess, I didn't read the bodies of the new ...
6 years, 2 months ago (2014-09-29 17:27:09 UTC) #23
agl
lgtm
6 years, 2 months ago (2014-09-29 17:41:44 UTC) #24
ramant (doing other things)
On 2014/09/29 17:41:44, agl wrote: > lgtm Thanks very much Adam and Ryan, raman
6 years, 2 months ago (2014-09-29 17:44:05 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/588443002/200001
6 years, 2 months ago (2014-09-29 17:52:00 UTC) #27
commit-bot: I haz the power
Exceeded time limit waiting for builds to trigger.
6 years, 2 months ago (2014-09-29 23:53:09 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/588443002/200001
6 years, 2 months ago (2014-09-29 23:56:41 UTC) #31
commit-bot: I haz the power
Committed patchset #3 (id:200001) as a1aec104df7776193ec33369aa1e0fb22714ad6e
6 years, 2 months ago (2014-09-30 00:29:04 UTC) #32
commit-bot: I haz the power
6 years, 2 months ago (2014-09-30 00:29:55 UTC) #33
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/46f73cea6f512782fff8697cbdc5c8bdb1b63edd
Cr-Commit-Position: refs/heads/master@{#297316}

Powered by Google App Engine
This is Rietveld 408576698