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

Issue 1878143005: SHP 4: Change AlternativeServiceMap to use SchemeHostPort as the key. No change to Pref data. (Closed)

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

Description

SHP 4: Change AlternativeServiceMap to use SchemeHostPort as the key. No change to Pref data. Hardcoded to always add "https" as scheme when loading from Pref to Cache, always drop scheme when write to Pref from Cache. Review only, should be landed in final unified CL. BUG=600804

Patch Set 1 : #

Patch Set 2 : fix compile on android #

Patch Set 3 : fix a comment #

Total comments: 16

Patch Set 4 : address rch's comments #

Patch Set 5 : git sync #

Patch Set 6 : fix cronet && SpdyNetworkTransactionUnittests #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+513 lines, -410 lines) Patch
M components/cronet/android/cronet_url_request_context_adapter.cc View 1 1 chunk +2 lines, -3 lines 0 comments Download
M components/cronet/android/url_request_context_adapter.cc View 1 1 chunk +2 lines, -3 lines 0 comments Download
M components/cronet/ios/cronet_environment.cc View 1 2 3 4 5 1 chunk +3 lines, -2 lines 1 comment Download
M net/http/bidirectional_stream.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M net/http/bidirectional_stream_unittest.cc View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M net/http/http_network_transaction.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M net/http/http_network_transaction_unittest.cc View 1 2 3 4 47 chunks +68 lines, -67 lines 0 comments Download
M net/http/http_server_properties.h View 1 2 3 4 4 chunks +5 lines, -5 lines 0 comments Download
M net/http/http_server_properties_impl.h View 1 2 3 4 5 chunks +12 lines, -10 lines 0 comments Download
M net/http/http_server_properties_impl.cc View 1 2 3 4 16 chunks +56 lines, -46 lines 0 comments Download
M net/http/http_server_properties_impl_unittest.cc View 1 2 3 4 26 chunks +166 lines, -152 lines 0 comments Download
M net/http/http_server_properties_manager.h View 1 2 3 4 3 chunks +5 lines, -5 lines 0 comments Download
M net/http/http_server_properties_manager.cc View 1 2 3 4 9 chunks +11 lines, -11 lines 0 comments Download
M net/http/http_server_properties_manager_unittest.cc View 1 2 3 4 25 chunks +49 lines, -54 lines 0 comments Download
M net/http/http_stream_factory.h View 2 chunks +4 lines, -4 lines 0 comments Download
M net/http/http_stream_factory.cc View 1 2 3 4 5 chunks +13 lines, -12 lines 0 comments Download
M net/http/http_stream_factory_impl.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M net/http/http_stream_factory_impl_unittest.cc View 1 2 3 4 4 chunks +12 lines, -5 lines 0 comments Download
M net/quic/quic_network_transaction_unittest.cc View 1 2 3 4 7 chunks +85 lines, -17 lines 0 comments Download
M net/quic/quic_stream_factory.cc View 1 2 3 4 1 chunk +3 lines, -2 lines 0 comments Download
M net/quic/quic_stream_factory_test.cc View 1 2 3 4 2 chunks +9 lines, -4 lines 0 comments Download
M net/spdy/spdy_network_transaction_unittest.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 1 comment Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 10 (3 generated)
Zhongyi Shi
Migrating Alt-Svc, woohoo!
4 years, 8 months ago (2016-04-14 18:16:42 UTC) #4
Ryan Hamilton
lgtm https://codereview.chromium.org/1878143005/diff/50001/net/http/http_server_properties_impl.cc File net/http/http_server_properties_impl.cc (right): https://codereview.chromium.org/1878143005/diff/50001/net/http/http_server_properties_impl.cc#newcode108 net/http/http_server_properties_impl.cc:108: // Attempt to find canonical servers. Canonical suffix ...
4 years, 8 months ago (2016-04-18 17:18:40 UTC) #5
Ryan Hamilton
Err, I mean, it's looking good but I have a question about the https-only restriction. ...
4 years, 8 months ago (2016-04-18 17:19:36 UTC) #6
Zhongyi Shi
No worries, this is not the last CL and won't be used for landing. Plan ...
4 years, 8 months ago (2016-04-18 19:26:37 UTC) #7
Ryan Hamilton
lgtm thanks!
4 years, 8 months ago (2016-04-18 21:57:36 UTC) #8
Zhongyi Shi
Fix SpdyNetworkTransactionTests and Cronet. PTAL :D https://codereview.chromium.org/1878143005/diff/110001/components/cronet/ios/cronet_environment.cc File components/cronet/ios/cronet_environment.cc (right): https://codereview.chromium.org/1878143005/diff/110001/components/cronet/ios/cronet_environment.cc#newcode331 components/cronet/ios/cronet_environment.cc:331: quic_hint.port()); Fixing cronet. ...
4 years, 8 months ago (2016-04-19 19:08:18 UTC) #9
Ryan Hamilton
4 years, 8 months ago (2016-04-19 22:42:40 UTC) #10
lgtm

Powered by Google App Engine
This is Rietveld 408576698