| Index: url/gurl.h
|
| diff --git a/url/gurl.h b/url/gurl.h
|
| index 908a649db5280c8fb6803cf3bc5277b72b011ad7..a71fe7ce0bcc087edff8993a613373808ed3303e 100644
|
| --- a/url/gurl.h
|
| +++ b/url/gurl.h
|
| @@ -211,23 +211,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.
|
| //
|
|
|