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 1216703002: Implement multiple alternative services per origin. (Closed)

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

Description

Implement multiple alternative services per origin. HttpServerProperties: * Introduce AlternativeServiceVector and AlternativeServiceInfoVector. * Change AlternativeServiceMap typedef. HttpServerPropertiesImpl: * Add bool SetAlternativeServices. * Change SetAlternativeService return type to bool. * Replace GetAlternativeService with GetAlternativeServices. * Replace ClearAlternativeService with ClearAlternativeServices. HttpServerPropertiesManager: * Implement saving and loading preferences to support multiple alternative services per origin. HttpStreamFactory and QuicStreamFactory: * Use first alternative service for now; more work to be done here. Also update misc clients and add and update unittests. BUG=392575 Committed: https://crrev.com/d9b132e46d02ec32dc3b2416d62d6b4d7fa03730 Cr-Commit-Position: refs/heads/master@{#337772}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Rebase. #

Patch Set 3 : Re: nit. #

Patch Set 4 : Remove AddAlternativeServices, add SetAlternativeServices. #

Patch Set 5 : Only update prefs if alternative services actually change. #

Patch Set 6 : Nits. #

Patch Set 7 : Rebase. #

Patch Set 8 : Nit. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+782 lines, -424 lines) Patch
M net/http/http_network_transaction_unittest.cc View 1 2 3 4 5 6 chunks +23 lines, -20 lines 0 comments Download
M net/http/http_server_properties.h View 1 2 3 4 3 chunks +31 lines, -9 lines 0 comments Download
M net/http/http_server_properties_impl.h View 1 2 3 4 2 chunks +7 lines, -3 lines 0 comments Download
M net/http/http_server_properties_impl.cc View 1 2 3 4 5 6 7 9 chunks +152 lines, -71 lines 0 comments Download
M net/http/http_server_properties_impl_unittest.cc View 1 2 3 4 5 13 chunks +245 lines, -119 lines 0 comments Download
M net/http/http_server_properties_manager.h View 1 2 3 4 4 chunks +9 lines, -5 lines 0 comments Download
M net/http/http_server_properties_manager.cc View 1 2 3 4 11 chunks +106 lines, -78 lines 0 comments Download
M net/http/http_server_properties_manager_unittest.cc View 1 2 3 4 12 chunks +113 lines, -46 lines 0 comments Download
M net/http/http_stream_factory.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M net/http/http_stream_factory_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M net/http/http_stream_factory_impl.cc View 1 2 3 chunks +66 lines, -56 lines 0 comments Download
M net/quic/quic_network_transaction_unittest.cc View 1 2 3 1 chunk +9 lines, -8 lines 0 comments Download
M net/quic/quic_stream_factory.cc View 1 2 3 4 5 6 2 chunks +19 lines, -7 lines 0 comments Download

Messages

Total messages: 15 (4 generated)
Bence
Ryan: PTAL. Thanks.
5 years, 6 months ago (2015-06-26 20:34:36 UTC) #2
Ryan Hamilton
https://codereview.chromium.org/1216703002/diff/1/net/http/http_server_properties_manager.cc File net/http/http_server_properties_manager.cc (left): https://codereview.chromium.org/1216703002/diff/1/net/http/http_server_properties_manager.cc#oldcode212 net/http/http_server_properties_manager.cc:212: ScheduleUpdatePrefsOnNetworkThread(SET_ALTERNATIVE_SERVICE); You seem to have removed the conditional here ...
5 years, 5 months ago (2015-06-29 21:15:53 UTC) #3
Bence
Ryan: PTAL. Thanks. https://codereview.chromium.org/1216703002/diff/1/net/http/http_server_properties_manager.cc File net/http/http_server_properties_manager.cc (left): https://codereview.chromium.org/1216703002/diff/1/net/http/http_server_properties_manager.cc#oldcode212 net/http/http_server_properties_manager.cc:212: ScheduleUpdatePrefsOnNetworkThread(SET_ALTERNATIVE_SERVICE); On 2015/06/29 21:15:52, Ryan Hamilton ...
5 years, 5 months ago (2015-06-30 19:16:14 UTC) #6
Bence
PTAL. Thanks.
5 years, 5 months ago (2015-07-06 11:32:38 UTC) #7
Ryan Hamilton
lgtm https://codereview.chromium.org/1216703002/diff/1/net/http/http_server_properties_manager.cc File net/http/http_server_properties_manager.cc (left): https://codereview.chromium.org/1216703002/diff/1/net/http/http_server_properties_manager.cc#oldcode212 net/http/http_server_properties_manager.cc:212: ScheduleUpdatePrefsOnNetworkThread(SET_ALTERNATIVE_SERVICE); On 2015/06/30 19:16:14, Bence wrote: > On ...
5 years, 5 months ago (2015-07-06 17:48:09 UTC) #8
Ryan Hamilton
On 2015/07/06 17:48:09, Ryan Hamilton wrote: > lgtm > > https://codereview.chromium.org/1216703002/diff/1/net/http/http_server_properties_manager.cc > File net/http/http_server_properties_manager.cc (left): ...
5 years, 5 months ago (2015-07-06 17:48:26 UTC) #9
Bence
Ryan: PTAL. Thanks. https://codereview.chromium.org/1216703002/diff/1/net/http/http_server_properties_manager.cc File net/http/http_server_properties_manager.cc (left): https://codereview.chromium.org/1216703002/diff/1/net/http/http_server_properties_manager.cc#oldcode212 net/http/http_server_properties_manager.cc:212: ScheduleUpdatePrefsOnNetworkThread(SET_ALTERNATIVE_SERVICE); On 2015/07/06 17:48:09, Ryan Hamilton ...
5 years, 5 months ago (2015-07-07 09:55:55 UTC) #10
Ryan Hamilton
lgtm
5 years, 5 months ago (2015-07-07 17:25:06 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1216703002/170001
5 years, 5 months ago (2015-07-08 05:11:50 UTC) #13
commit-bot: I haz the power
Committed patchset #8 (id:170001)
5 years, 5 months ago (2015-07-08 05:16:19 UTC) #14
commit-bot: I haz the power
5 years, 5 months ago (2015-07-08 05:17:17 UTC) #15
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/d9b132e46d02ec32dc3b2416d62d6b4d7fa03730
Cr-Commit-Position: refs/heads/master@{#337772}

Powered by Google App Engine
This is Rietveld 408576698