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

Issue 10807088: Implement TLS Channel ID support for SPDY CREDENTIAL frames (Closed)

Created:
8 years, 5 months ago by Ryan Hamilton
Modified:
8 years, 4 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

Implement TLS Channel ID support for SPDY CREDENTIAL frames BUG=139700 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=150112

Patch Set 1 #

Patch Set 2 : Complete #

Patch Set 3 : move SpdyCredentialBuilder methods to static #

Patch Set 4 : Cleanup test includes #

Patch Set 5 : Split out ECSignatureCreatorHelper into new CL #

Patch Set 6 : Factor out MockClientSocket::kTlsUnique. #

Total comments: 31

Patch Set 7 : Address raman's and jar's comments #

Patch Set 8 : Check error returned by SpdyCredentialBuilder::Build #

Total comments: 2

Patch Set 9 : Fix SequencedWorkerPool label #

Patch Set 10 : Attempt to test for the existance of DCHECK correctly. #

Patch Set 11 : Remove DCHECK in SpdyCredentialBuilder::Build to simplify test logic. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+283 lines, -54 lines) Patch
M net/net.gyp View 1 2 3 4 2 chunks +3 lines, -0 lines 0 comments Download
M net/socket/socket_test_util.h View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M net/socket/socket_test_util.cc View 1 2 3 4 5 2 chunks +3 lines, -1 line 0 comments Download
A net/spdy/spdy_credential_builder.h View 1 2 3 4 5 6 1 chunk +38 lines, -0 lines 0 comments Download
A net/spdy/spdy_credential_builder.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +84 lines, -0 lines 0 comments Download
A net/spdy/spdy_credential_builder_unittest.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +133 lines, -0 lines 0 comments Download
M net/spdy/spdy_http_stream_spdy3_unittest.cc View 1 2 3 4 5 2 chunks +7 lines, -19 lines 0 comments Download
M net/spdy/spdy_session.cc View 1 2 3 4 5 6 7 2 chunks +12 lines, -34 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
Ryan Hamilton
8 years, 4 months ago (2012-08-01 19:19:24 UTC) #1
ramant (doing other things)
lgtm http://codereview.chromium.org/10807088/diff/10001/net/spdy/spdy_credential_builder.cc File net/spdy/spdy_credential_builder.cc (right): http://codereview.chromium.org/10807088/diff/10001/net/spdy/spdy_credential_builder.cc#newcode46 net/spdy/spdy_credential_builder.cc:46: DCHECK_EQ(0, (int)spk[0]); overly nit: period at the end ...
8 years, 4 months ago (2012-08-02 00:03:05 UTC) #2
ramant (doing other things)
lgtm http://codereview.chromium.org/10807088/diff/10001/net/spdy/spdy_credential_builder_unittest.cc File net/spdy/spdy_credential_builder_unittest.cc (right): http://codereview.chromium.org/10807088/diff/10001/net/spdy/spdy_credential_builder_unittest.cc#newcode28 net/spdy/spdy_credential_builder_unittest.cc:28: std::string GetCredentialSecret() { On 2012/08/02 00:03:05, ramant wrote: ...
8 years, 4 months ago (2012-08-02 00:54:20 UTC) #3
jar (doing other things)
drive by commentary... http://codereview.chromium.org/10807088/diff/10001/net/spdy/spdy_credential_builder.cc File net/spdy/spdy_credential_builder.cc (right): http://codereview.chromium.org/10807088/diff/10001/net/spdy/spdy_credential_builder.cc#newcode40 net/spdy/spdy_credential_builder.cc:40: base::StringPiece spk; nit: abbreviations are discouraged.. ...
8 years, 4 months ago (2012-08-02 02:23:04 UTC) #4
Ryan Hamilton
https://chromiumcodereview.appspot.com/10807088/diff/10001/net/spdy/spdy_credential_builder.cc File net/spdy/spdy_credential_builder.cc (right): https://chromiumcodereview.appspot.com/10807088/diff/10001/net/spdy/spdy_credential_builder.cc#newcode40 net/spdy/spdy_credential_builder.cc:40: base::StringPiece spk; On 2012/08/02 02:23:04, jar wrote: > nit: ...
8 years, 4 months ago (2012-08-02 15:53:49 UTC) #5
jar (doing other things)
One nit reminder below. I didn't study the code very much, but my drive by ...
8 years, 4 months ago (2012-08-02 16:21:56 UTC) #6
Ryan Hamilton
https://chromiumcodereview.appspot.com/10807088/diff/10001/net/spdy/spdy_session.cc File net/spdy/spdy_session.cc (right): https://chromiumcodereview.appspot.com/10807088/diff/10001/net/spdy/spdy_session.cc#newcode638 net/spdy/spdy_session.cc:638: SpdyCredentialBuilder::Build(tls_unique, type, key, cert, slot, &credential); On 2012/08/02 16:21:56, ...
8 years, 4 months ago (2012-08-02 16:42:39 UTC) #7
ramant (doing other things)
lgtm Awesome. Many many thanks for making the changes. -raman https://chromiumcodereview.appspot.com/10807088/diff/15002/net/spdy/spdy_credential_builder_unittest.cc File net/spdy/spdy_credential_builder_unittest.cc (right): https://chromiumcodereview.appspot.com/10807088/diff/15002/net/spdy/spdy_credential_builder_unittest.cc#newcode29 ...
8 years, 4 months ago (2012-08-02 16:54:19 UTC) #8
Ryan Hamilton
https://chromiumcodereview.appspot.com/10807088/diff/15002/net/spdy/spdy_credential_builder_unittest.cc File net/spdy/spdy_credential_builder_unittest.cc (right): https://chromiumcodereview.appspot.com/10807088/diff/15002/net/spdy/spdy_credential_builder_unittest.cc#newcode29 net/spdy/spdy_credential_builder_unittest.cc:29: new base::SequencedWorkerPool(1, "SpdyHttpStreamSpdy3Test"); On 2012/08/02 16:54:19, ramant wrote: > ...
8 years, 4 months ago (2012-08-02 17:00:25 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rch@chromium.org/10807088/15003
8 years, 4 months ago (2012-08-02 17:24:47 UTC) #10
commit-bot: I haz the power
Try job failure for 10807088-15003 (retry) on mac_rel for step "net_unittests". It's a second try, ...
8 years, 4 months ago (2012-08-02 18:19:52 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rch@chromium.org/10807088/10013
8 years, 4 months ago (2012-08-02 19:28:23 UTC) #12
commit-bot: I haz the power
Try job failure for 10807088-10013 (retry) on win for step "compile" (clobber build). It's a ...
8 years, 4 months ago (2012-08-02 20:03:24 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rch@chromium.org/10807088/10016
8 years, 4 months ago (2012-08-06 16:34:52 UTC) #14
commit-bot: I haz the power
8 years, 4 months ago (2012-08-06 18:11:13 UTC) #15
Change committed as 150112

Powered by Google App Engine
This is Rietveld 408576698