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

Unified Diff: ui/base/text/text_elider.cc

Issue 13979002: Add support for split PSL list distinctions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added const modifiers 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
Index: ui/base/text/text_elider.cc
diff --git a/ui/base/text/text_elider.cc b/ui/base/text/text_elider.cc
index 09f4e4c6e696b615fa6b7b042d97c5be77c878c7..73e6be2a21803295950ef9c6a3aad3eeb2811595 100644
--- a/ui/base/text/text_elider.cc
+++ b/ui/base/text/text_elider.cc
@@ -252,7 +252,8 @@ string16 ElideUrl(const GURL& url,
// Get domain and registry information from the URL.
string16 url_domain = UTF8ToUTF16(
- net::RegistryControlledDomainService::GetDomainAndRegistry(url));
+ net::registry_controlled_domains::GetDomainAndRegistry(
+ url, net::registry_controlled_domains::EXCLUDE_PRIVATE_REGISTRIES));
if (url_domain.empty())
url_domain = url_host;
« net/base/static_cookie_policy.cc ('K') | « net/tools/tld_cleanup/tld_cleanup_util_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698