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

Unified Diff: content/shell/browser/layout_test/layout_test_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: Fix failing test 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/shell/browser/layout_test/layout_test_push_messaging_service.cc
diff --git a/content/shell/browser/layout_test/layout_test_push_messaging_service.cc b/content/shell/browser/layout_test/layout_test_push_messaging_service.cc
index 5f0b0ec6edbce31b8cc541a36ddfa100da77c796..3b71a2e5179bf7a7dd0406be07ddac6ba612501c 100644
--- a/content/shell/browser/layout_test/layout_test_push_messaging_service.cc
+++ b/content/shell/browser/layout_test/layout_test_push_messaging_service.cc
@@ -82,6 +82,10 @@ LayoutTestPushMessagingService::GetPermissionStatus(
embedding_origin));
}
+bool LayoutTestPushMessagingService::SupportNonVisibleMessages() {
+ return false;
+}
+
void LayoutTestPushMessagingService::Unregister(
const GURL& requesting_origin,
int64 service_worker_registration_id,

Powered by Google App Engine
This is Rietveld 408576698