diff options
author | lgarron <lgarron@chromium.org> | 2015-08-18 14:57:35 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-08-18 21:57:59 +0000 |
commit | 4f486f6f6a1e5a90e33beb9af6d0d253e775b437 (patch) | |
tree | f625c5261d4a0d75849eabad6e3dc9b730bbe31d /url | |
parent | c4967eface72bc99452d8a83800c7cdd19a872ee (diff) | |
download | chromium_src-4f486f6f6a1e5a90e33beb9af6d0d253e775b437.zip chromium_src-4f486f6f6a1e5a90e33beb9af6d0d253e775b437.tar.gz chromium_src-4f486f6f6a1e5a90e33beb9af6d0d253e775b437.tar.bz2 |
Remove GURL::SchemeIsSecure().
BUG=362214
Review URL: https://codereview.chromium.org/1287923004
Cr-Commit-Position: refs/heads/master@{#344043}
Diffstat (limited to 'url')
-rw-r--r-- | url/gurl.h | 17 |
1 files changed, 0 insertions, 17 deletions
@@ -210,23 +210,6 @@ class URL_EXPORT GURL { return SchemeIs(url::kFileSystemScheme); } - // Returns true if the scheme indicates a secure connection. - // - // NOTE: This function is deprecated. You probably want - // |SchemeIsCryptographic| (if you just want to know if a scheme uses TLS for - // network transport) or Chromium's |IsOriginSecure| for a higher-level test - // about an origin's security. See those functions' documentation for more - // detail. - // - // TODO(palmer): Audit callers and change them to |SchemeIsCryptographic| or - // |IsOriginSecure|, as appropriate. Then remove |SchemeIsSecure|. - // crbug.com/362214 - bool SchemeIsSecure() const { - return SchemeIs(url::kHttpsScheme) || SchemeIs(url::kWssScheme) || - (SchemeIsFileSystem() && inner_url() && - inner_url()->SchemeIsSecure()); - } - // Returns true if the scheme indicates a network connection that uses TLS or // some other cryptographic protocol (e.g. QUIC) for security. // |