| Index: url/gurl.h
|
| diff --git a/url/gurl.h b/url/gurl.h
|
| index b8632b45e91007c52601bd14be913bd2cb876fcd..e830b1a3ec7c74f46fbe5d370944720aca89c380 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(url::kWssScheme) ||
|
| (SchemeIsFileSystem() && inner_url() && inner_url()->SchemeIsSecure());
|
| }
|
|
|
|
|