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

Unified Diff: chrome/browser/net/url_fixer_upper.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: chrome/browser/net/url_fixer_upper.cc
diff --git a/chrome/browser/net/url_fixer_upper.cc b/chrome/browser/net/url_fixer_upper.cc
index e965be8ef057d2469bae8152eabf06b7516b7b1e..19b3472a20d1c2a747418a465e411b3a9fd6b4db 100644
--- a/chrome/browser/net/url_fixer_upper.cc
+++ b/chrome/browser/net/url_fixer_upper.cc
@@ -195,7 +195,9 @@ void AddDesiredTLD(const std::string& desired_tld, std::string* domain) {
// users can input "mail.yahoo" and hit ctrl-enter to get
// "www.mail.yahoo.com".
const size_t registry_length =
- net::RegistryControlledDomainService::GetRegistryLength(*domain, false);
+ net::RegistryControlledDomainService::GetRegistryLength(*domain,
+ net::RCDS::EXCLUDE_UNKNOWN_REGISTRIES,
+ net::RCDS::EXCLUDE_PRIVATE_REGISTRIES);
if ((registry_length != 0) && (registry_length != std::string::npos))
return;

Powered by Google App Engine
This is Rietveld 408576698