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

Unified Diff: content/browser/notifications/notification_message_filter.cc

Issue 661643002: Adds a context message of the security origin for web notifications. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge Created 5 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/notifications/notification_message_filter.cc
diff --git a/content/browser/notifications/notification_message_filter.cc b/content/browser/notifications/notification_message_filter.cc
index d49fb0f5a679422e69adc2cf7b811989a28a1279..b41b3781bac8ea36b69236c066ff45ff98b877c1 100644
--- a/content/browser/notifications/notification_message_filter.cc
+++ b/content/browser/notifications/notification_message_filter.cc
@@ -94,7 +94,6 @@ void NotificationMessageFilter::OnShowPlatformNotification(
icon,
notification_data,
delegate.Pass(),
- process_id_,
&close_closure);
if (!close_closure.is_null())
@@ -116,11 +115,8 @@ void NotificationMessageFilter::OnShowPersistentNotification(
return;
service->DisplayPersistentNotification(browser_context_,
- service_worker_registration_id,
- origin,
- icon,
- notification_data,
- process_id_);
+ service_worker_registration_id, origin,
+ icon, notification_data);
}
void NotificationMessageFilter::OnClosePlatformNotification(
« no previous file with comments | « chrome/browser/services/gcm/push_messaging_service_impl.cc ('k') | content/public/browser/platform_notification_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698