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

Unified Diff: chrome/browser/predictors/logged_in_predictor_table.cc

Issue 15140003: Add support for split Public Suffix List distinctions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased again Created 7 years, 7 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
« no previous file with comments | « chrome/browser/net/url_fixer_upper.cc ('k') | chrome/browser/safe_browsing/ui_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/predictors/logged_in_predictor_table.cc
diff --git a/chrome/browser/predictors/logged_in_predictor_table.cc b/chrome/browser/predictors/logged_in_predictor_table.cc
index 10ed85d2d4cdff0538166bc93431ade5f7e0e27d..b4626002319edf54c10e88466af45df300f348c4 100644
--- a/chrome/browser/predictors/logged_in_predictor_table.cc
+++ b/chrome/browser/predictors/logged_in_predictor_table.cc
@@ -40,7 +40,9 @@ string LoggedInPredictorTable::GetKey(const GURL& url) {
// static
string LoggedInPredictorTable::GetKeyFromDomain(const std::string& domain) {
string effective_domain(
- net::RegistryControlledDomainService::GetDomainAndRegistry(domain));
+ net::registry_controlled_domains::GetDomainAndRegistry(
+ domain,
+ net::registry_controlled_domains::EXCLUDE_PRIVATE_REGISTRIES));
if (effective_domain.empty())
effective_domain = domain;
« no previous file with comments | « chrome/browser/net/url_fixer_upper.cc ('k') | chrome/browser/safe_browsing/ui_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698