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

Issue 1043973002: Introduce AlternativeServiceInfo. (Closed)

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

Description

Introduce AlternativeServiceInfo. * Introduce AlternativeServiceInfo and use it instead of AlternateProtocolInfo in HttpServerPropertiesImpl. * Change language in method and variable names and comments to consistently talk about alternative service instead of alternate protocol (except for threshold related occurrences). * Update HttpServerPropertiesManager to save by key "alternative_service" instead of "alternate_protocol", while still being able to read old preferences. * Add TODO(bnc) at a couple of places. BUG=392575 Committed: https://crrev.com/4988e439c1a14779f32b4dc9c289d9e4bad467af Cr-Commit-Position: refs/heads/master@{#322968}

Patch Set 1 #

Patch Set 2 : Fix unittest compilation problem. #

Total comments: 1

Patch Set 3 : Make empty hostname logic easier to read. #

Patch Set 4 : Add DCHECK to make sure callers handle default hostname. #

Total comments: 4

Patch Set 5 : Early return. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+399 lines, -292 lines) Patch
M net/base/net_log_util.cc View 1 chunk +5 lines, -5 lines 0 comments Download
M net/http/http_network_transaction_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/http/http_server_properties.h View 5 chunks +33 lines, -18 lines 0 comments Download
M net/http/http_server_properties.cc View 1 chunk +8 lines, -3 lines 0 comments Download
M net/http/http_server_properties_impl.h View 4 chunks +5 lines, -5 lines 0 comments Download
M net/http/http_server_properties_impl.cc View 1 2 3 12 chunks +98 lines, -66 lines 0 comments Download
M net/http/http_server_properties_impl_unittest.cc View 1 4 chunks +25 lines, -24 lines 0 comments Download
M net/http/http_server_properties_manager.h View 4 chunks +12 lines, -11 lines 0 comments Download
M net/http/http_server_properties_manager.cc View 1 2 3 4 15 chunks +141 lines, -90 lines 0 comments Download
M net/http/http_server_properties_manager_unittest.cc View 12 chunks +61 lines, -60 lines 0 comments Download
M net/quic/quic_stream_factory.cc View 2 chunks +10 lines, -9 lines 0 comments Download

Messages

Total messages: 9 (3 generated)
Bence
Ryan: PTAL. Thanks. https://codereview.chromium.org/1043973002/diff/20001/net/http/http_network_transaction_unittest.cc File net/http/http_network_transaction_unittest.cc (left): https://codereview.chromium.org/1043973002/diff/20001/net/http/http_network_transaction_unittest.cc#oldcode7844 net/http/http_network_transaction_unittest.cc:7844: AlternateProtocolFromNextProto(next_proto), "alternative.host", 443); This was an ...
5 years, 8 months ago (2015-03-30 21:31:10 UTC) #2
Ryan Hamilton
lgtm Great! https://codereview.chromium.org/1043973002/diff/60001/net/http/http_server_properties_impl.cc File net/http/http_server_properties_impl.cc (right): https://codereview.chromium.org/1043973002/diff/60001/net/http/http_server_properties_impl.cc#newcode393 net/http/http_server_properties_impl.cc:393: const { This formatting looks strange. I ...
5 years, 8 months ago (2015-03-30 23:07:49 UTC) #3
Bence
Thanks. https://codereview.chromium.org/1043973002/diff/60001/net/http/http_server_properties_impl.cc File net/http/http_server_properties_impl.cc (right): https://codereview.chromium.org/1043973002/diff/60001/net/http/http_server_properties_impl.cc#newcode393 net/http/http_server_properties_impl.cc:393: const { On 2015/03/30 23:07:49, Ryan Hamilton wrote: ...
5 years, 8 months ago (2015-03-31 01:06:16 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1043973002/80001
5 years, 8 months ago (2015-03-31 02:19:50 UTC) #7
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 8 months ago (2015-03-31 03:06:36 UTC) #8
commit-bot: I haz the power
5 years, 8 months ago (2015-03-31 03:07:22 UTC) #9
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/4988e439c1a14779f32b4dc9c289d9e4bad467af
Cr-Commit-Position: refs/heads/master@{#322968}

Powered by Google App Engine
This is Rietveld 408576698