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

Issue 1580583002: Add a whitelist for QUIC hosts. (Closed)

Created:
4 years, 11 months ago by Ryan Hamilton
Modified:
4 years, 11 months ago
Reviewers:
agl, mef, Ryan Sleevi
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add a whitelist for QUIC hosts. BUG=576402 Committed: https://crrev.com/1ad82bbc44d87669926c9cffe2ba77564df420a3 Cr-Commit-Position: refs/heads/master@{#368810} Committed: https://crrev.com/74da0e1aeef5b431bc533c2a0bb24c94fd664e3c Cr-Commit-Position: refs/heads/master@{#369291}

Patch Set 1 #

Patch Set 2 : Better TransportSecurityState interface #

Patch Set 3 : cleanup #

Total comments: 4

Patch Set 4 : fix comments #

Total comments: 17

Patch Set 5 : fix sleevi's comments #

Patch Set 6 : Fix more comments #

Total comments: 2

Patch Set 7 : comment #

Patch Set 8 : Fix cronet #

Patch Set 9 : better fix #

Patch Set 10 : cronet tests pass #

Patch Set 11 : different cronet fix #

Patch Set 12 : WORKING #

Total comments: 4

Patch Set 13 : fix comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+147 lines, -2 lines) Patch
M chrome/browser/io_thread.h View 1 2 3 4 5 6 7 3 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/io_thread.cc View 1 2 3 4 5 6 7 3 chunks +22 lines, -0 lines 0 comments Download
M chrome/browser/io_thread_unittest.cc View 1 2 3 4 5 6 7 2 chunks +27 lines, -0 lines 0 comments Download
M chrome/common/chrome_switches.h View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/chrome_switches.cc View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M components/cronet/android/test/javatests/src/org/chromium/net/PkpTest.java View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +5 lines, -1 line 0 comments Download
M components/cronet/android/test/javatests/src/org/chromium/net/QuicTest.java View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +4 lines, -1 line 0 comments Download
M components/cronet/url_request_context_config.cc View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +13 lines, -0 lines 0 comments Download
M net/http/http_network_session.h View 1 2 3 4 5 6 7 2 chunks +4 lines, -0 lines 0 comments Download
M net/http/http_stream_factory_impl.h View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download
M net/http/http_stream_factory_impl.cc View 1 2 3 4 5 6 7 11 3 chunks +17 lines, -0 lines 0 comments Download
M net/http/transport_security_state.h View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download
M net/http/transport_security_state.cc View 1 2 3 4 5 1 chunk +19 lines, -0 lines 0 comments Download
M net/quic/quic_network_transaction_unittest.cc View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download
M net/url_request/url_request_context_builder.h View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +7 lines, -0 lines 0 comments Download
M net/url_request/url_request_context_builder.cc View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 40 (16 generated)
Ryan Hamilton
4 years, 11 months ago (2016-01-11 22:06:05 UTC) #3
agl
https://codereview.chromium.org/1580583002/diff/40001/net/http/http_stream_factory_impl.cc File net/http/http_stream_factory_impl.cc (right): https://codereview.chromium.org/1580583002/diff/40001/net/http/http_stream_factory_impl.cc#newcode383 net/http/http_stream_factory_impl.cc:383: return base::EndsWith(host, ".snapchat.com", This doesn't match the bare "snapchat.com" ...
4 years, 11 months ago (2016-01-11 22:53:37 UTC) #4
Ryan Hamilton
https://codereview.chromium.org/1580583002/diff/40001/net/http/http_stream_factory_impl.cc File net/http/http_stream_factory_impl.cc (right): https://codereview.chromium.org/1580583002/diff/40001/net/http/http_stream_factory_impl.cc#newcode383 net/http/http_stream_factory_impl.cc:383: return base::EndsWith(host, ".snapchat.com", On 2016/01/11 22:53:37, agl wrote: > ...
4 years, 11 months ago (2016-01-11 22:59:18 UTC) #5
agl
lgtm
4 years, 11 months ago (2016-01-11 23:00:23 UTC) #6
Ryan Sleevi
https://codereview.chromium.org/1580583002/diff/60001/net/http/http_stream_factory_impl.cc File net/http/http_stream_factory_impl.cc (right): https://codereview.chromium.org/1580583002/diff/60001/net/http/http_stream_factory_impl.cc#newcode376 net/http/http_stream_factory_impl.cc:376: } nit: This file uses no braces for single-line ...
4 years, 11 months ago (2016-01-11 23:54:27 UTC) #8
Ryan Hamilton
Switched to using unordered_set, but if you feel strongly that a sorted vector + short ...
4 years, 11 months ago (2016-01-12 00:22:46 UTC) #10
Ryan Sleevi
https://codereview.chromium.org/1580583002/diff/60001/net/http/transport_security_state.cc File net/http/transport_security_state.cc (right): https://codereview.chromium.org/1580583002/diff/60001/net/http/transport_security_state.cc#newcode1113 net/http/transport_security_state.cc:1113: if (!result.has_pins) BUG? You should be checking enable_static_pins_, right? ...
4 years, 11 months ago (2016-01-12 00:29:39 UTC) #11
Ryan Hamilton
https://codereview.chromium.org/1580583002/diff/60001/net/http/transport_security_state.cc File net/http/transport_security_state.cc (right): https://codereview.chromium.org/1580583002/diff/60001/net/http/transport_security_state.cc#newcode1113 net/http/transport_security_state.cc:1113: if (!result.has_pins) On 2016/01/12 00:29:39, Ryan Sleevi wrote: > ...
4 years, 11 months ago (2016-01-12 01:21:25 UTC) #12
Ryan Sleevi
LGTM % nit https://codereview.chromium.org/1580583002/diff/120001/net/http/http_stream_factory_impl.h File net/http/http_stream_factory_impl.h (right): https://codereview.chromium.org/1580583002/diff/120001/net/http/http_stream_factory_impl.h#newcode121 net/http/http_stream_factory_impl.h:121: // Returns true if QUIC is ...
4 years, 11 months ago (2016-01-12 01:28:06 UTC) #13
Ryan Hamilton
Thanks! https://codereview.chromium.org/1580583002/diff/120001/net/http/http_stream_factory_impl.h File net/http/http_stream_factory_impl.h (right): https://codereview.chromium.org/1580583002/diff/120001/net/http/http_stream_factory_impl.h#newcode121 net/http/http_stream_factory_impl.h:121: // Returns true if QUIC is whitelisted for ...
4 years, 11 months ago (2016-01-12 05:42:37 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1580583002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1580583002/140001
4 years, 11 months ago (2016-01-12 05:43:32 UTC) #17
commit-bot: I haz the power
Committed patchset #7 (id:140001)
4 years, 11 months ago (2016-01-12 06:53:10 UTC) #19
commit-bot: I haz the power
Patchset 7 (id:??) landed as https://crrev.com/1ad82bbc44d87669926c9cffe2ba77564df420a3 Cr-Commit-Position: refs/heads/master@{#368810}
4 years, 11 months ago (2016-01-12 06:54:17 UTC) #21
trchen
A revert of this CL (patchset #7 id:140001) has been created in https://codereview.chromium.org/1574423003/ by trchen@chromium.org. ...
4 years, 11 months ago (2016-01-13 00:23:33 UTC) #22
Ryan Hamilton
mef: I've verified that the cronet tests pass for me locally. Can you apply the ...
4 years, 11 months ago (2016-01-13 20:01:11 UTC) #25
Ryan Hamilton
mef: ok, really working now based on the approach we discussed offline
4 years, 11 months ago (2016-01-13 21:57:38 UTC) #26
mef
https://codereview.chromium.org/1580583002/diff/240001/components/cronet/android/test/javatests/src/org/chromium/net/QuicTest.java File components/cronet/android/test/javatests/src/org/chromium/net/QuicTest.java (right): https://codereview.chromium.org/1580583002/diff/240001/components/cronet/android/test/javatests/src/org/chromium/net/QuicTest.java#newcode144 components/cronet/android/test/javatests/src/org/chromium/net/QuicTest.java:144: .put("store_server_configs_in_properties", true) nit: do we need all these options, ...
4 years, 11 months ago (2016-01-13 22:18:15 UTC) #27
mef
lgtm, all cronet tests pass.
4 years, 11 months ago (2016-01-13 22:30:10 UTC) #28
Ryan Hamilton
Thanks so much! https://codereview.chromium.org/1580583002/diff/240001/components/cronet/android/test/javatests/src/org/chromium/net/QuicTest.java File components/cronet/android/test/javatests/src/org/chromium/net/QuicTest.java (right): https://codereview.chromium.org/1580583002/diff/240001/components/cronet/android/test/javatests/src/org/chromium/net/QuicTest.java#newcode144 components/cronet/android/test/javatests/src/org/chromium/net/QuicTest.java:144: .put("store_server_configs_in_properties", true) On 2016/01/13 22:18:15, mef ...
4 years, 11 months ago (2016-01-13 22:34:59 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1580583002/260001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1580583002/260001
4 years, 11 months ago (2016-01-13 22:39:15 UTC) #32
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_dbg_recipe on tryserver.chromium.android (JOB_TIMED_OUT, no build URL) android_chromium_gn_compile_dbg on ...
4 years, 11 months ago (2016-01-14 00:47:01 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1580583002/260001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1580583002/260001
4 years, 11 months ago (2016-01-14 00:56:05 UTC) #36
commit-bot: I haz the power
Committed patchset #13 (id:260001)
4 years, 11 months ago (2016-01-14 02:49:42 UTC) #38
commit-bot: I haz the power
4 years, 11 months ago (2016-01-14 02:50:34 UTC) #40
Message was sent while issue was closed.
Patchset 13 (id:??) landed as
https://crrev.com/74da0e1aeef5b431bc533c2a0bb24c94fd664e3c
Cr-Commit-Position: refs/heads/master@{#369291}

Powered by Google App Engine
This is Rietveld 408576698