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

Issue 300223007: Break ChannelIDSigner into two classes: ChannelIDKey and ChannelIDSource. (Closed)

Created:
6 years, 6 months ago by dmziegler
Modified:
6 years, 6 months ago
Reviewers:
wtc, Ryan Hamilton
CC:
chromium-reviews, cbentzel+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

ChannelIDSource looks up a channel ID key for a given hostname, and ChannelIDKey does the signing. Right now ChannelIDSource::GetChannelIDKey is still a synchronous function. It will become asynchronous in a future CL. The assumption is that channel ID keys may be stored on a disk, so the lookup may require disk access, but once a channel ID key is loaded into memory, it can sign data without blocking. Corresponds to internal CL 68051215. R=wtc@chromium.org BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=273748

Patch Set 1 #

Total comments: 1

Patch Set 2 : fixed copy-and-paste error #

Total comments: 1

Patch Set 3 : Ported patch changes to NSS #

Total comments: 2

Patch Set 4 : Address comment nits #

Total comments: 2

Patch Set 5 : Fixes build on C++03 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+153 lines, -130 lines) Patch
M net/quic/crypto/channel_id.h View 1 chunk +22 lines, -13 lines 0 comments Download
M net/quic/crypto/channel_id_test.cc View 1 chunk +7 lines, -5 lines 0 comments Download
M net/quic/crypto/quic_crypto_client_config.h View 3 chunks +8 lines, -7 lines 0 comments Download
M net/quic/crypto/quic_crypto_client_config.cc View 3 chunks +14 lines, -8 lines 0 comments Download
M net/quic/test_tools/crypto_test_utils.h View 3 chunks +5 lines, -6 lines 0 comments Download
M net/quic/test_tools/crypto_test_utils.cc View 2 chunks +6 lines, -4 lines 0 comments Download
M net/quic/test_tools/crypto_test_utils_nss.cc View 1 2 3 3 chunks +44 lines, -43 lines 0 comments Download
M net/quic/test_tools/crypto_test_utils_openssl.cc View 1 2 3 4 3 chunks +41 lines, -39 lines 0 comments Download
M net/tools/quic/quic_client.h View 1 chunk +6 lines, -5 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
dmziegler
6 years, 6 months ago (2014-05-28 01:00:05 UTC) #1
wtc
Review comments on patch set 1: https://codereview.chromium.org/300223007/diff/1/net/quic/test_tools/crypto_test_utils_openssl.cc File net/quic/test_tools/crypto_test_utils_openssl.cc (right): https://codereview.chromium.org/300223007/diff/1/net/quic/test_tools/crypto_test_utils_openssl.cc#newcode107 net/quic/test_tools/crypto_test_utils_openssl.cc:107: crypto::ScopedOpenSSL<EC_KEY, EC_KEY_free> ecdsa_key_; ...
6 years, 6 months ago (2014-05-28 01:21:09 UTC) #2
wtc
https://codereview.chromium.org/300223007/diff/2/net/quic/test_tools/crypto_test_utils_openssl.cc File net/quic/test_tools/crypto_test_utils_openssl.cc (right): https://codereview.chromium.org/300223007/diff/2/net/quic/test_tools/crypto_test_utils_openssl.cc#newcode33 net/quic/test_tools/crypto_test_utils_openssl.cc:33: class TestChannelIDKey : public ChannelIDKey { net/quic/test_tools/crypto_test_utils_nss.cc also needs ...
6 years, 6 months ago (2014-05-28 22:04:29 UTC) #3
dmziegler
6 years, 6 months ago (2014-05-29 21:02:00 UTC) #4
wtc
Patch set 3 LGTM. Please fix the comment nits, upload a new patch set, and ...
6 years, 6 months ago (2014-05-29 21:59:14 UTC) #5
dmziegler
The CQ bit was checked by dmziegler@google.com
6 years, 6 months ago (2014-05-29 22:25:10 UTC) #6
dmziegler
The CQ bit was unchecked by dmziegler@google.com
6 years, 6 months ago (2014-05-29 22:25:20 UTC) #7
dmziegler
The CQ bit was checked by dmziegler@google.com
6 years, 6 months ago (2014-05-29 22:25:21 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dmziegler@google.com/300223007/50001
6 years, 6 months ago (2014-05-29 22:27:33 UTC) #9
dmziegler
On 2014/05/29 22:27:33, I haz the power (commit-bot) wrote: > CQ is trying da patch. ...
6 years, 6 months ago (2014-05-29 22:58:47 UTC) #10
wtc
https://codereview.chromium.org/300223007/diff/50001/net/quic/test_tools/crypto_test_utils_openssl.cc File net/quic/test_tools/crypto_test_utils_openssl.cc (right): https://codereview.chromium.org/300223007/diff/50001/net/quic/test_tools/crypto_test_utils_openssl.cc#newcode41 net/quic/test_tools/crypto_test_utils_openssl.cc:41: string* out_signature) override { Yes, please change "override" back ...
6 years, 6 months ago (2014-05-29 23:29:44 UTC) #11
wtc
https://codereview.chromium.org/300223007/diff/50001/net/quic/test_tools/crypto_test_utils_openssl.cc File net/quic/test_tools/crypto_test_utils_openssl.cc (right): https://codereview.chromium.org/300223007/diff/50001/net/quic/test_tools/crypto_test_utils_openssl.cc#newcode41 net/quic/test_tools/crypto_test_utils_openssl.cc:41: string* out_signature) override { Note that there are two ...
6 years, 6 months ago (2014-05-29 23:33:09 UTC) #12
dmziegler
The CQ bit was checked by dmziegler@google.com
6 years, 6 months ago (2014-05-30 00:53:01 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dmziegler@google.com/300223007/70001
6 years, 6 months ago (2014-05-30 00:53:45 UTC) #14
commit-bot: I haz the power
6 years, 6 months ago (2014-05-30 07:11:28 UTC) #15
Message was sent while issue was closed.
Change committed as 273748

Powered by Google App Engine
This is Rietveld 408576698