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

Unified Diff: chrome/browser/notifications/platform_notification_service_impl.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
Index: chrome/browser/notifications/platform_notification_service_impl.cc
diff --git a/chrome/browser/notifications/platform_notification_service_impl.cc b/chrome/browser/notifications/platform_notification_service_impl.cc
index 0b42149cf8db54ce706f8ebf5e96fa1d1836573b..89e483a1506eccdebd57794a36fd7d064b36d036 100644
--- a/chrome/browser/notifications/platform_notification_service_impl.cc
+++ b/chrome/browser/notifications/platform_notification_service_impl.cc
@@ -95,3 +95,17 @@ void PlatformNotificationServiceImpl::DisplayNotification(
profile->GetHostContentSettingsMap()->UpdateLastUsage(
params.origin, params.origin, CONTENT_SETTINGS_TYPE_NOTIFICATIONS);
}
+
+void PlatformNotificationServiceImpl::DisplayPersistentNotification(
+ content::BrowserContext* browser_context,
+ int64 service_worker_registration_id,
+ const content::ShowDesktopNotificationHostMsgParams& params,
+ int render_process_id) {
+ NOTIMPLEMENTED();
+}
+
+void PlatformNotificationServiceImpl::ClosePersistentNotification(
+ content::BrowserContext* browser_context,
+ const std::string& persistent_notification_id) {
+ NOTIMPLEMENTED();
+}

Powered by Google App Engine
This is Rietveld 408576698