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

Unified Diff: net/ssl/server_bound_cert_service.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 | « net/net.gyp ('k') | net/tools/tld_cleanup/README » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/ssl/server_bound_cert_service.cc
diff --git a/net/ssl/server_bound_cert_service.cc b/net/ssl/server_bound_cert_service.cc
index 470ef543f7b144f1b463348bbfa8961323ff7379..327ca938a657af06c855b4118a2bb956866cbd0d 100644
--- a/net/ssl/server_bound_cert_service.cc
+++ b/net/ssl/server_bound_cert_service.cc
@@ -413,7 +413,8 @@ ServerBoundCertService::~ServerBoundCertService() {
//static
std::string ServerBoundCertService::GetDomainForHost(const std::string& host) {
std::string domain =
- RegistryControlledDomainService::GetDomainAndRegistry(host);
+ registry_controlled_domains::GetDomainAndRegistry(
+ host, registry_controlled_domains::EXCLUDE_PRIVATE_REGISTRIES);
if (domain.empty())
return host;
return domain;
« no previous file with comments | « net/net.gyp ('k') | net/tools/tld_cleanup/README » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698