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

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

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
« no previous file with comments | « content/shell/browser/layout_test/layout_test_notification_manager.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/browser/layout_test/layout_test_notification_manager.cc
diff --git a/content/shell/browser/layout_test/layout_test_notification_manager.cc b/content/shell/browser/layout_test/layout_test_notification_manager.cc
index 7e7adf4c927bf1a4ec6139eaa8ab36c4e6ba7406..ce4e86b931e07409d8d492b5fd59360dea87b09d 100644
--- a/content/shell/browser/layout_test/layout_test_notification_manager.cc
+++ b/content/shell/browser/layout_test/layout_test_notification_manager.cc
@@ -84,6 +84,22 @@ void LayoutTestNotificationManager::DisplayNotification(
notifications_[title]->NotificationDisplayed();
}
+void LayoutTestNotificationManager::DisplayPersistentNotification(
+ BrowserContext* browser_context,
+ int64 service_worker_registration_id,
+ const ShowDesktopNotificationHostMsgParams& params,
+ int render_process_id) {
+ // TODO(peter): Make persistent notifications layout testable.
+ NOTIMPLEMENTED();
+}
+
+void LayoutTestNotificationManager::ClosePersistentNotification(
+ BrowserContext* browser_context,
+ const std::string& persistent_notification_id) {
+ // TODO(peter): Make persistent notifications layout testable.
+ NOTIMPLEMENTED();
+}
+
void LayoutTestNotificationManager::SimulateClick(const std::string& title) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
auto iterator = notifications_.find(title);
« no previous file with comments | « content/shell/browser/layout_test/layout_test_notification_manager.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698