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

Unified Diff: content/shell/browser/layout_test/layout_test_notification_manager.h

Issue 794633002: Remove ShowDesktopNotificationHostMsgParams in favor of PlatformNotificationData. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/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,

Powered by Google App Engine
This is Rietveld 408576698