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

Unified Diff: content/public/browser/push_messaging_service.cc

Issue 1133083002: Reject the permissionState promise with NotSupported Exception (2/3) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 months 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/public/browser/push_messaging_service.cc
diff --git a/content/public/browser/push_messaging_service.cc b/content/public/browser/push_messaging_service.cc
index 27335eb9adfbab9ca60bce7e78f50ae897fd6bb2..0deedf94e1ef66ee39835ec76d09a65046af5a96 100644
--- a/content/public/browser/push_messaging_service.cc
+++ b/content/public/browser/push_messaging_service.cc
@@ -90,6 +90,10 @@ scoped_refptr<ServiceWorkerContextWrapper> GetServiceWorkerContext(
} // anonymous namespace
+bool PushMessagingService::SupportNonVisibleMessages() {
+ return false;
+}
+
// static
void PushMessagingService::GetNotificationsShownByLastFewPushes(
ServiceWorkerContext* service_worker_context,

Powered by Google App Engine
This is Rietveld 408576698