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

Unified Diff: net/base/sdch_manager.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/base/sdch_manager.cc
diff --git a/net/base/sdch_manager.cc b/net/base/sdch_manager.cc
index 9639027423978a5c9bcbceb148c43d824ba0b460..63af2c5ea0ef1522060d1ebc29fb11e7eece27a1 100644
--- a/net/base/sdch_manager.cc
+++ b/net/base/sdch_manager.cc
@@ -109,7 +109,8 @@ bool SdchManager::Dictionary::CanSet(const std::string& domain,
SdchErrorRecovery(DICTIONARY_MISSING_DOMAIN_SPECIFIER);
return false; // Domain is required.
}
- if (RegistryControlledDomainService::GetDomainAndRegistry(domain).empty()) {
+ if (RegistryControlledDomainService::GetDomainAndRegistry(
+ domain, RCDS::EXCLUDE_PRIVATE_REGISTRIES).empty()) {
SdchErrorRecovery(DICTIONARY_SPECIFIES_TOP_LEVEL_DOMAIN);
return false; // domain was a TLD.
}

Powered by Google App Engine
This is Rietveld 408576698