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

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

Issue 776813004: Introduce new content APIs for persistent notifications. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@n-sw-contentclient
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 66bd61dca4cb3934caaec2df6eea987534edeaae..7792a7a108e7c9cb5a5fe9ce6e5280c7698fd119 100644
--- a/content/shell/browser/layout_test/layout_test_notification_manager.h
+++ b/content/shell/browser/layout_test/layout_test_notification_manager.h
@@ -53,6 +53,14 @@ class LayoutTestNotificationManager : public PlatformNotificationService {
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,
+ int render_process_id) override;
+ void ClosePersistentNotification(
+ BrowserContext* browser_context,
+ const std::string& persistent_notification_id) override;
private:
// Closes the notification titled |title|. Must be called on the UI thread.

Powered by Google App Engine
This is Rietveld 408576698