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

Unified Diff: chrome/browser/services/gcm/push_messaging_service_impl.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: chrome/browser/services/gcm/push_messaging_service_impl.cc
diff --git a/chrome/browser/services/gcm/push_messaging_service_impl.cc b/chrome/browser/services/gcm/push_messaging_service_impl.cc
index 401bddea9a9c905027c7ec1a75049c9825e5a3a0..6a88f0970265707dc95a9a99c0c19c7d869bc121 100644
--- a/chrome/browser/services/gcm/push_messaging_service_impl.cc
+++ b/chrome/browser/services/gcm/push_messaging_service_impl.cc
@@ -248,12 +248,8 @@ void PushMessagingServiceImpl::RequireUserVisibleUX(
base::ASCIIToUTF16(kPushMessagingForcedNotificationTag);
notification_data.icon = GURL(); // TODO(johnme): Better icon?
notification_service->DisplayPersistentNotification(
- profile_,
- application_id.service_worker_registration_id,
- application_id.origin,
- SkBitmap() /* icon */,
- notification_data,
- content::ChildProcessHost::kInvalidUniqueID /* render_process_id */);
+ profile_, application_id.service_worker_registration_id,
+ application_id.origin, SkBitmap() /* icon */, notification_data);
#endif
}

Powered by Google App Engine
This is Rietveld 408576698