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

Issue 1294713004: Switch Sdch3.AdvertisedWithSecureScheme histogram to use target_url.SchemeIsCryptographic(). (Closed)

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

Description

Switch Sdch3.AdvertisedWithSecureScheme histogram to use target_url.SchemeIsCryptographic(). SchemeIsSecure() is deprecated. Replacing it with SchemeIsCryptographic() in this case is safe because the check was effectively only checking for HTTP vs. HTTPS. (The UMA histogram values are even called "HTTP" and HTTPS"): - Sdch3.AdvertisedWithSecureScheme is recorded in SdchManager::GetDictionarySet(), - which is only called from URLRequestHttpJob::AddExtraHeaders(), - which is only used for HTTP and HTTPS requests. BUG=362214 Committed: https://crrev.com/ee4c0b0c531417177164e91d3a987ab2946c6792 Cr-Commit-Position: refs/heads/master@{#343801}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M net/base/sdch_manager.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 19 (7 generated)
lgarron
Welcome to the removal of the last remaining use of SchemeIsSecure()! rdsmith@: You reviewed the ...
5 years, 4 months ago (2015-08-14 20:44:52 UTC) #2
Randy Smith (Not in Mondays)
So I'd suggest revving the histogram name and marking the old one obsolete if there's ...
5 years, 4 months ago (2015-08-17 16:18:17 UTC) #4
Elly Fong-Jones
On 2015/08/17 16:18:17, rdsmith wrote: > So I'd suggest revving the histogram name and marking ...
5 years, 4 months ago (2015-08-17 18:17:34 UTC) #5
Randy Smith (Not in Mondays)
Ok, thanks! LGTM from me based on Elly's review; you can ignore my suggestion.
5 years, 4 months ago (2015-08-17 18:43:33 UTC) #6
lgarron
On 2015/08/17 at 18:43:33, rdsmith wrote: > Ok, thanks! LGTM from me based on Elly's ...
5 years, 4 months ago (2015-08-17 18:45:05 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1294713004/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1294713004/1
5 years, 4 months ago (2015-08-17 18:46:35 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/99145)
5 years, 4 months ago (2015-08-17 21:37:08 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1294713004/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1294713004/1
5 years, 4 months ago (2015-08-17 21:40:10 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/99294)
5 years, 4 months ago (2015-08-18 00:37:51 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1294713004/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1294713004/1
5 years, 4 months ago (2015-08-18 01:06:35 UTC) #17
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years, 4 months ago (2015-08-18 05:10:11 UTC) #18
commit-bot: I haz the power
5 years, 4 months ago (2015-08-18 05:11:19 UTC) #19
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/ee4c0b0c531417177164e91d3a987ab2946c6792
Cr-Commit-Position: refs/heads/master@{#343801}

Powered by Google App Engine
This is Rietveld 408576698