Index: content/browser/notifications/notification_message_filter.h |
diff --git a/content/browser/notifications/notification_message_filter.h b/content/browser/notifications/notification_message_filter.h |
index 82bd8876ad5cdf40f68ac41737b49b60a0d84955..44e9c8122a4a3201abb53372f5a908615b10b379 100644 |
--- a/content/browser/notifications/notification_message_filter.h |
+++ b/content/browser/notifications/notification_message_filter.h |
@@ -12,12 +12,13 @@ |
#include "third_party/WebKit/public/platform/WebNotificationPermission.h" |
class GURL; |
+class SkBitmap; |
namespace content { |
class BrowserContext; |
+struct PlatformNotificationData; |
class ResourceContext; |
-struct ShowDesktopNotificationHostMsgParams; |
class NotificationMessageFilter : public BrowserMessageFilter { |
public: |
@@ -42,11 +43,16 @@ class NotificationMessageFilter : public BrowserMessageFilter { |
void OnCheckNotificationPermission( |
const GURL& origin, blink::WebNotificationPermission* permission); |
void OnShowPlatformNotification( |
- int notification_id, const ShowDesktopNotificationHostMsgParams& params); |
+ int notification_id, |
+ const GURL& origin, |
+ const SkBitmap& icon, |
+ const PlatformNotificationData& notification_data); |
void OnShowPersistentNotification( |
int request_id, |
int64 service_worker_registration_id, |
- const ShowDesktopNotificationHostMsgParams& params); |
+ const GURL& origin, |
+ const SkBitmap& icon, |
+ const PlatformNotificationData& notification_data); |
void OnClosePlatformNotification(int notification_id); |
void OnClosePersistentNotification( |
const std::string& persistent_notification_id); |