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

Issue 1866983006: SHP 2: Change SpdySettingsMap 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, ramant (doing other things)
Base URL:
https://chromium.googlesource.com/chromium/src.git@SHP_1
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

SHP 2: Change SpdySettingsMap 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 #

Total comments: 2

Patch Set 2 : git sync #

Patch Set 3 : Rename GetSpdyServer to GetServer #

Patch Set 4 : git sync & fix ~SpdySession() #

Patch Set 5 : remove commented line #

Total comments: 2

Patch Set 6 : git sync #

Patch Set 7 : git sync #

Unified diffs Side-by-side diffs Delta from patch set Stats (+155 lines, -84 lines) Patch
M net/http/http_server_properties.h View 1 2 3 4 5 6 2 chunks +4 lines, -4 lines 0 comments Download
M net/http/http_server_properties_impl.h View 1 2 3 4 5 6 1 chunk +3 lines, -3 lines 0 comments Download
M net/http/http_server_properties_impl.cc View 1 2 3 4 5 6 3 chunks +10 lines, -11 lines 0 comments Download
M net/http/http_server_properties_impl_unittest.cc View 1 2 3 4 5 6 9 chunks +73 lines, -16 lines 0 comments Download
M net/http/http_server_properties_manager.h View 1 2 3 4 5 6 2 chunks +4 lines, -4 lines 0 comments Download
M net/http/http_server_properties_manager.cc View 1 2 3 4 5 6 6 chunks +17 lines, -15 lines 0 comments Download
M net/http/http_server_properties_manager_unittest.cc View 1 2 3 4 5 6 6 chunks +6 lines, -7 lines 0 comments Download
M net/spdy/spdy_network_transaction_unittest.cc View 1 2 3 4 5 6 6 chunks +13 lines, -9 lines 0 comments Download
M net/spdy/spdy_session.h View 1 2 3 4 5 6 2 chunks +4 lines, -0 lines 0 comments Download
M net/spdy/spdy_session.cc View 1 2 3 4 5 6 5 chunks +10 lines, -4 lines 0 comments Download
M net/spdy/spdy_session_unittest.cc View 1 2 3 4 5 6 7 chunks +11 lines, -11 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 9 (4 generated)
Zhongyi Shi
Migrating SpdySettingsMap to use SHP.
4 years, 8 months ago (2016-04-08 04:04:03 UTC) #2
Ryan Hamilton
Any idea what's up with the red bots? Looks good, though. https://codereview.chromium.org/1866983006/diff/1/net/spdy/spdy_session.h File net/spdy/spdy_session.h (right): ...
4 years, 8 months ago (2016-04-08 18:38:05 UTC) #3
Zhongyi Shi
On 2016/04/08 18:38:05, Ryan Hamilton wrote: > Any idea what's up with the red bots? ...
4 years, 8 months ago (2016-04-08 21:53:20 UTC) #4
Zhongyi Shi
https://codereview.chromium.org/1866983006/diff/1/net/spdy/spdy_session.h File net/spdy/spdy_session.h (right): https://codereview.chromium.org/1866983006/diff/1/net/spdy/spdy_session.h#newcode407 net/spdy/spdy_session.h:407: url::SchemeHostPort GetSpdyServer(); On 2016/04/08 18:38:05, Ryan Hamilton wrote: > ...
4 years, 8 months ago (2016-04-12 21:08:08 UTC) #7
Ryan Hamilton
4 years, 8 months ago (2016-04-13 04:13:24 UTC) #9
https://codereview.chromium.org/1866983006/diff/120001/net/spdy/spdy_session.cc
File net/spdy/spdy_session.cc (right):

https://codereview.chromium.org/1866983006/diff/120001/net/spdy/spdy_session....
net/spdy/spdy_session.cc:2042: return url::SchemeHostPort(is_secure_ ? "https" :
"http",
On 2016/04/12 21:08:08, Zhongyi Shi wrote:
> Need confirm: is that safe to use is_secure_ instead of calling GetSSLInfo()?
> 
>
https://code.google.com/p/chromium/codesearch#chromium/src/net/spdy/spdy_sess...

Looks great!

Powered by Google App Engine
This is Rietveld 408576698