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

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: Address comments. 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 af048092fca9c7278e0d5ca86f0c93fd200bf030..5be7ca37d4d74a4fc9498d025e1dfa1a10788c7d 100644
--- a/chrome/browser/services/gcm/push_messaging_service_impl.cc
+++ b/chrome/browser/services/gcm/push_messaging_service_impl.cc
@@ -243,12 +243,8 @@ void PushMessagingServiceImpl::RequireUserVisibleUX(
base::ASCIIToUTF16("user_visible_auto_notification");
notification_data.icon = GURL(); // TODO(johnme): Better icon?
PlatformNotificationServiceImpl::GetInstance()->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