DescriptionSwitch 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 #
Messages
Total messages: 19 (7 generated)
|