Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(206)

Unified Diff: net/cookies/cookie_util.cc

Issue 13979002: Add support for split PSL list distinctions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed chrome_frame compilation issue Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/cookies/cookie_util.cc
diff --git a/net/cookies/cookie_util.cc b/net/cookies/cookie_util.cc
index 908c8586022a55317f9b086356fe1ed5d9afe9b9..25137c0824a28d0031e8f5a986cb0455e1e2d151 100644
--- a/net/cookies/cookie_util.cc
+++ b/net/cookies/cookie_util.cc
@@ -25,7 +25,8 @@ bool DomainIsHostOnly(const std::string& domain_string) {
std::string GetEffectiveDomain(const std::string& scheme,
const std::string& host) {
if (scheme == "http" || scheme == "https")
- return RegistryControlledDomainService::GetDomainAndRegistry(host);
+ return RegistryControlledDomainService::GetDomainAndRegistry(
+ host, net::RCDS::EXCLUDE_PRIVATE_REGISTRIES);
if (!DomainIsHostOnly(host))
return host.substr(1);

Powered by Google App Engine
This is Rietveld 408576698