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

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

Issue 794633002: Remove ShowDesktopNotificationHostMsgParams in favor of PlatformNotificationData. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments Created 6 years 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_event_dispatcher_impl.cc
diff --git a/content/browser/notifications/notification_event_dispatcher_impl.cc b/content/browser/notifications/notification_event_dispatcher_impl.cc
index 340f31f450350423f8db2127a99d86ae0792088a..617c66b1a819d4813416e8e21136a4b9e4f3d44a 100644
--- a/content/browser/notifications/notification_event_dispatcher_impl.cc
+++ b/content/browser/notifications/notification_event_dispatcher_impl.cc
@@ -11,7 +11,7 @@
#include "content/public/browser/browser_context.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/storage_partition.h"
-#include "content/public/common/show_desktop_notification_params.h"
+#include "content/public/common/platform_notification_data.h"
namespace content {
namespace {
@@ -59,7 +59,7 @@ void NotificationClickEventFinished(
// registration was available. Must be called on the IO thread.
void DispatchNotificationClickEventOnRegistration(
const std::string& notification_id,
- const ShowDesktopNotificationHostMsgParams& notification_data,
+ const PlatformNotificationData& notification_data,
const NotificationClickDispatchCompleteCallback& dispatch_complete_callback,
ServiceWorkerStatusCode service_worker_status,
const scoped_refptr<ServiceWorkerRegistration>&
@@ -111,7 +111,7 @@ void FindServiceWorkerRegistration(
const GURL& origin,
int64 service_worker_registration_id,
const std::string& notification_id,
- const ShowDesktopNotificationHostMsgParams& notification_data,
+ const PlatformNotificationData& notification_data,
const NotificationClickDispatchCompleteCallback& dispatch_complete_callback,
scoped_refptr<ServiceWorkerContextWrapper> service_worker_context) {
DCHECK_CURRENTLY_ON(BrowserThread::IO);
@@ -146,7 +146,7 @@ void NotificationEventDispatcherImpl::DispatchNotificationClickEvent(
const GURL& origin,
int64 service_worker_registration_id,
const std::string& notification_id,
- const ShowDesktopNotificationHostMsgParams& notification_data,
+ const PlatformNotificationData& notification_data,
const NotificationClickDispatchCompleteCallback&
dispatch_complete_callback) {
DCHECK_CURRENTLY_ON(BrowserThread::UI);

Powered by Google App Engine
This is Rietveld 408576698