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

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: Reverts html file. Created 5 years, 11 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 537e90a25d1ca56a521b912e50c4acdf35a27a8f..ee4392592f9caa99e934462ee01a3529ca854019 100644
--- a/content/browser/notifications/notification_message_filter.cc
+++ b/content/browser/notifications/notification_message_filter.cc
@@ -93,7 +93,6 @@ void NotificationMessageFilter::OnShowPlatformNotification(
icon,
notification_data,
delegate.Pass(),
- process_id_,
&close_closure);
if (!close_closure.is_null())
@@ -114,11 +113,8 @@ void NotificationMessageFilter::OnShowPersistentNotification(
// TODO(peter): Verify that permission has been granted for |origin|.
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(

Powered by Google App Engine
This is Rietveld 408576698