Chromium Code Reviews| Index: url/gurl.h |
| diff --git a/url/gurl.h b/url/gurl.h |
| index b8632b45e91007c52601bd14be913bd2cb876fcd..82bb816d4a83c14cf572eb1c7e7aacafaefc4d04 100644 |
| --- a/url/gurl.h |
| +++ b/url/gurl.h |
| @@ -12,6 +12,7 @@ |
| #include "base/strings/string16.h" |
| #include "url/url_canon.h" |
| #include "url/url_canon_stdstring.h" |
| +#include "url/url_constants.h" |
| #include "url/url_export.h" |
| #include "url/url_parse.h" |
| @@ -231,7 +232,7 @@ class URL_EXPORT GURL { |
| // If the scheme indicates a secure connection |
| bool SchemeIsSecure() const { |
| - return SchemeIs("https") || SchemeIs("wss") || |
| + return SchemeIs(url::kHttpsScheme) || SchemeIs(kWssScheme) || |
|
brettw
2014/05/30 17:36:28
need url:: on the WssScheme
|
| (SchemeIsFileSystem() && inner_url() && inner_url()->SchemeIsSecure()); |
| } |