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

Issue 665083009: ABANDONED Handle multiple AlternateProtocols for each HostPortPair. (Closed)

Created:
6 years, 1 month ago by Bence
Modified:
5 years, 5 months ago
Reviewers:
CC:
chromium-reviews, cbentzel+watch_chromium.org, eroman
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

ABANDONED Handle multiple AlternateProtocols for each HostPortPair. This CL is close to being done. However, it is currently way too large to be checked in. I'll start carving out parts of it and landing them as individual CLs. BUG=392575

Patch Set 1 #

Total comments: 33

Patch Set 2 : Make GetAlternateProtocols return const by ref. #

Patch Set 3 : Add tests. #

Patch Set 4 : Nits. #

Total comments: 2

Patch Set 5 : Second round of comments. #

Patch Set 6 : Rebase. #

Total comments: 2

Patch Set 7 : Brush up AlternateProtocolsToString. #

Patch Set 8 : Fix mistake in manual rebase. #

Patch Set 9 : Nits. #

Patch Set 10 : Adopt CronetURLRequestContextAdapter to the new API. #

Patch Set 11 : Another Cronet occurrence. #

Total comments: 1

Patch Set 12 : Change EqualsModuloProbabilityAndProtocol to EqualsModuloProbability. #

Patch Set 13 : Rebase. #

Patch Set 14 : Update broken_ list and map. #

Patch Set 15 : Rebase. #

Patch Set 16 : Work on pref load/save and on Job. #

Total comments: 3

Patch Set 17 : Revert changes to GetAlternateProtocol; add multiple alternate entries to unittests. #

Patch Set 18 : Change GetAlternateProtocol/HasAlternateProtocol semantics. #

Patch Set 19 : Custom entries for broken_alternate_protocol_list_ and map_. #

Patch Set 20 : Rebase. #

Patch Set 21 : Fix compile error. #

Patch Set 22 : Refactor preference loading. #

Patch Set 23 : Add HttpServerPropertiesManagerTest.UpdateCacheWithPrefs. #

Patch Set 24 : Rebase. #

Patch Set 25 : Rename and minor stuff. #

Patch Set 26 : Plumb alternate_protocol through QuicStreamFactory::Job and QuicClientSession. #

Patch Set 27 : Revert patch set 26. #

Patch Set 28 : Rebase and a bunch of other changes. #

Total comments: 18

Patch Set 29 : Re: 18. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+748 lines, -446 lines) Patch
M components/cronet/android/cronet_url_request_context_adapter.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 1 chunk +2 lines, -3 lines 0 comments Download
M components/cronet/android/url_request_context_adapter.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 1 chunk +2 lines, -3 lines 0 comments Download
M net/base/net_log_util.cc View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M net/http/http_network_transaction_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 11 chunks +26 lines, -22 lines 0 comments Download
M net/http/http_server_properties.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 5 chunks +45 lines, -26 lines 0 comments Download
M net/http/http_server_properties.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +12 lines, -2 lines 0 comments Download
M net/http/http_server_properties_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 1 chunk +16 lines, -7 lines 0 comments Download
M net/http/http_server_properties_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 8 chunks +142 lines, -64 lines 0 comments Download
M net/http/http_server_properties_impl_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 11 chunks +165 lines, -103 lines 0 comments Download
M net/http/http_server_properties_manager.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 2 chunks +19 lines, -9 lines 0 comments Download
M net/http/http_server_properties_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 7 chunks +100 lines, -41 lines 0 comments Download
M net/http/http_server_properties_manager_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 12 chunks +80 lines, -67 lines 0 comments Download
M net/http/http_stream_factory.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 1 chunk +2 lines, -1 line 0 comments Download
M net/http/http_stream_factory_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 1 chunk +44 lines, -45 lines 0 comments Download
M net/http/http_stream_factory_impl_job.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 2 chunks +3 lines, -2 lines 0 comments Download
M net/http/http_stream_factory_impl_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 1 chunk +1 line, -1 line 0 comments Download
M net/quic/quic_network_transaction_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 1 chunk +18 lines, -9 lines 0 comments Download
M net/quic/quic_stream_factory.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 2 chunks +4 lines, -1 line 0 comments Download
M net/quic/quic_stream_factory.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 7 chunks +64 lines, -38 lines 0 comments Download
M net/spdy/spdy_network_transaction_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 22 (5 generated)
Bence
Ryan: PTAL. Thanks.
6 years, 1 month ago (2014-10-29 21:59:32 UTC) #2
Bence
Ryan: ping.
6 years, 1 month ago (2014-11-03 16:05:37 UTC) #3
Ryan Hamilton
On 2014/11/03 16:05:37, Bence wrote: > Ryan: ping. Sorry for the delay. I took a ...
6 years, 1 month ago (2014-11-03 18:14:19 UTC) #4
Ryan Hamilton
A few comments. I'd like to give it a more thorough review but this should ...
6 years, 1 month ago (2014-11-03 19:00:31 UTC) #5
Bence
Ryan: PTAL. https://codereview.chromium.org/665083009/diff/1/net/http/http_server_properties.h File net/http/http_server_properties.h (right): https://codereview.chromium.org/665083009/diff/1/net/http/http_server_properties.h#newcode101 net/http/http_server_properties.h:101: return port == other.port; On 2014/11/03 19:00:30, ...
6 years, 1 month ago (2014-11-03 22:32:26 UTC) #7
Ryan Hamilton
https://codereview.chromium.org/665083009/diff/1/net/http/http_server_properties.h File net/http/http_server_properties.h (right): https://codereview.chromium.org/665083009/diff/1/net/http/http_server_properties.h#newcode101 net/http/http_server_properties.h:101: return port == other.port; On 2014/11/03 22:32:25, Bence wrote: ...
6 years, 1 month ago (2014-11-04 18:56:23 UTC) #8
Bence
Ryan: PTAL. https://codereview.chromium.org/665083009/diff/1/net/http/http_server_properties_impl.cc File net/http/http_server_properties_impl.cc (right): https://codereview.chromium.org/665083009/diff/1/net/http/http_server_properties_impl.cc#newcode288 net/http/http_server_properties_impl.cc:288: if (it->EqualsModuloProbabilityAndProtocol(alternate)) { On 2014/11/04 18:56:22, Ryan ...
6 years, 1 month ago (2014-11-04 21:55:50 UTC) #10
Ryan Hamilton
https://codereview.chromium.org/665083009/diff/1/net/http/http_server_properties_impl.cc File net/http/http_server_properties_impl.cc (right): https://codereview.chromium.org/665083009/diff/1/net/http/http_server_properties_impl.cc#newcode288 net/http/http_server_properties_impl.cc:288: if (it->EqualsModuloProbabilityAndProtocol(alternate)) { On 2014/11/04 21:55:50, Bence wrote: > ...
6 years, 1 month ago (2014-11-04 22:13:17 UTC) #11
Bence
> s/broken_/is_broken_/ but yeah, this sounds great. (I think we may have > discussed something ...
6 years, 1 month ago (2014-11-05 15:34:49 UTC) #12
Bence
Hi Ryan, FYI this is the large draft CL. I'll break it up to smaller ...
5 years, 10 months ago (2015-01-30 21:24:50 UTC) #14
Ryan Hamilton
Just an FYI https://codereview.chromium.org/665083009/diff/140001/net/http/http_server_properties.cc File net/http/http_server_properties.cc (right): https://codereview.chromium.org/665083009/diff/140001/net/http/http_server_properties.cc#newcode111 net/http/http_server_properties.cc:111: std::string output{}; On 2015/01/30 21:24:50, Bence ...
5 years, 10 months ago (2015-01-30 21:50:19 UTC) #15
Bence
Hello Ryan, This CL is now in a pretty good shape, lot of it we ...
5 years, 10 months ago (2015-02-06 19:59:40 UTC) #16
Bence
Ryan: PTAL. GetAlternateProtocols now returns a vector. The only thing that remains is pick the ...
5 years, 10 months ago (2015-02-26 20:53:46 UTC) #17
Ryan Hamilton
A few comments. I think your design doc is very helpful! https://codereview.chromium.org/665083009/diff/580001/net/http/http_stream_factory.cc File net/http/http_stream_factory.cc (right): ...
5 years, 9 months ago (2015-02-27 18:20:48 UTC) #18
Bence
Ryan, FYI. I feel like we have to sort out broken semantics before landing this. ...
5 years, 9 months ago (2015-02-27 19:31:41 UTC) #19
Ryan Hamilton
Removing myself as a reviewer. Add back when you're ready to land. (Or feel free ...
5 years, 8 months ago (2015-04-01 03:03:28 UTC) #20
Bence
5 years, 5 months ago (2015-07-08 05:27:24 UTC) #22
Abandoning CL in favor of https://crrev.com/1216703002.

Powered by Google App Engine
This is Rietveld 408576698