| Index: net/cookies/cookie_util.cc
|
| diff --git a/net/cookies/cookie_util.cc b/net/cookies/cookie_util.cc
|
| index 958801839f2594d0fce13c6b855f45291bd3cc4b..bcf80ca50c2e01aa7f929fd4968c56e0ccf5a5d8 100644
|
| --- a/net/cookies/cookie_util.cc
|
| +++ b/net/cookies/cookie_util.cc
|
| @@ -24,7 +24,8 @@ bool DomainIsHostOnly(const std::string& domain_string) {
|
|
|
| std::string GetEffectiveDomain(const std::string& scheme,
|
| const std::string& host) {
|
| - if (scheme == "http" || scheme == "https") {
|
| + if (scheme == "http" || scheme == "https" || scheme == "ws" ||
|
| + scheme == "wss") {
|
| return registry_controlled_domains::GetDomainAndRegistry(
|
| host,
|
| registry_controlled_domains::INCLUDE_PRIVATE_REGISTRIES);
|
| @@ -264,6 +265,5 @@ std::string SerializeRequestCookieLine(
|
| return buffer;
|
| }
|
|
|
| -} // namespace cookie_utils
|
| +} // namespace cookie_util
|
| } // namespace net
|
| -
|
|
|