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

Unified Diff: content/browser/worker_host/worker_process_host.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 | « content/browser/site_instance_impl.cc ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/worker_host/worker_process_host.cc
diff --git a/content/browser/worker_host/worker_process_host.cc b/content/browser/worker_host/worker_process_host.cc
index f340df7dfaf97a1031392a739ef0b73793e33d11..b818b9d1b8945698b6994a912286db94b84a5b56 100644
--- a/content/browser/worker_host/worker_process_host.cc
+++ b/content/browser/worker_host/worker_process_host.cc
@@ -493,8 +493,9 @@ void WorkerProcessHost::UpdateTitle() {
GetWorkerProcessTitle(i->url(), resource_context_);
if (title.empty()) {
- title = net::RegistryControlledDomainService::GetDomainAndRegistry(
- i->url());
+ title = net::registry_controlled_domains::GetDomainAndRegistry(
+ i->url(),
+ net::registry_controlled_domains::EXCLUDE_PRIVATE_REGISTRIES);
}
// Use the host name if the domain is empty, i.e. localhost or IP address.
« no previous file with comments | « content/browser/site_instance_impl.cc ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698