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

Unified Diff: net/cookies/cookie_monster.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_monster.cc
diff --git a/net/cookies/cookie_monster.cc b/net/cookies/cookie_monster.cc
index c9b386a2066ddc1e9ff78b3fdacd4a9c508f7a3f..8192dec96d807ec6fdc55c66fd85daff7c2d0670 100644
--- a/net/cookies/cookie_monster.cc
+++ b/net/cookies/cookie_monster.cc
@@ -1905,7 +1905,8 @@ int CookieMonster::GarbageCollectDeleteList(
// non-problem).
std::string CookieMonster::GetKey(const std::string& domain) const {
std::string effective_domain(
- RegistryControlledDomainService::GetDomainAndRegistry(domain));
+ RegistryControlledDomainService::GetDomainAndRegistry(
+ domain, RCDS::EXCLUDE_PRIVATE_REGISTRIES));
if (effective_domain.empty())
effective_domain = domain;

Powered by Google App Engine
This is Rietveld 408576698