Index: content/shell/browser/layout_test/layout_test_notification_manager.h |
diff --git a/content/shell/browser/layout_test/layout_test_notification_manager.h b/content/shell/browser/layout_test/layout_test_notification_manager.h |
index 7792a7a108e7c9cb5a5fe9ce6e5280c7698fd119..3238ee612d63d62d7aaa98113e14e5041256f206 100644 |
--- a/content/shell/browser/layout_test/layout_test_notification_manager.h |
+++ b/content/shell/browser/layout_test/layout_test_notification_manager.h |
@@ -16,8 +16,8 @@ |
namespace content { |
-struct ShowDesktopNotificationHostMsgParams; |
class DesktopNotificationDelegate; |
+struct PlatformNotificationData; |
// Responsible for tracking active notifications and allowed origins for the |
// Web Notification API when running layout tests. |
@@ -49,14 +49,18 @@ class LayoutTestNotificationManager : public PlatformNotificationService { |
const GURL& origin, |
int render_process_id) override; |
void DisplayNotification(BrowserContext* browser_context, |
- const ShowDesktopNotificationHostMsgParams& params, |
+ const GURL& origin, |
+ const SkBitmap& icon, |
+ const PlatformNotificationData& notification_data, |
scoped_ptr<DesktopNotificationDelegate> delegate, |
int render_process_id, |
base::Closure* cancel_callback) override; |
void DisplayPersistentNotification( |
BrowserContext* browser_context, |
int64 service_worker_registration_id, |
- const ShowDesktopNotificationHostMsgParams& params, |
+ const GURL& origin, |
+ const SkBitmap& icon, |
+ const PlatformNotificationData& notification_data, |
int render_process_id) override; |
void ClosePersistentNotification( |
BrowserContext* browser_context, |