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

Unified Diff: content/browser/service_worker/service_worker_dispatcher_host.cc

Issue 2716583003: Rename Origin.unique() to opaque().
Patch Set: Mac fixes Created 3 years, 10 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: content/browser/service_worker/service_worker_dispatcher_host.cc
diff --git a/content/browser/service_worker/service_worker_dispatcher_host.cc b/content/browser/service_worker/service_worker_dispatcher_host.cc
index 1fb1130b493ef61f803b9a9205f9924391c1a082..0be600d167c5dfe3d78d9cd99e23c576c20d8104 100644
--- a/content/browser/service_worker/service_worker_dispatcher_host.cc
+++ b/content/browser/service_worker/service_worker_dispatcher_host.cc
@@ -1198,8 +1198,8 @@ void ServiceWorkerDispatcherHost::
event->message_ports = MessagePort::ReleaseHandles(sent_message_ports);
event->source = source;
- // Hide the client url if the client has a unique origin.
- if (source_origin.unique()) {
+ // Hide the client url if the client has an opaque origin.
+ if (source_origin.opaque()) {
if (event->source.client_info.IsValid())
event->source.client_info.url = GURL();
else

Powered by Google App Engine
This is Rietveld 408576698