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

Unified Diff: Source/modules/push_messaging/ServiceWorkerRegistrationPush.idl

Issue 783983003: Push API: move PushManager from Navigator to ServiceWorkerRegistration [switchover 6/6] (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Address review comments. 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: Source/modules/push_messaging/ServiceWorkerRegistrationPush.idl
diff --git a/Source/modules/push_messaging/ServiceWorkerRegistrationPush.idl b/Source/modules/push_messaging/ServiceWorkerRegistrationPush.idl
new file mode 100644
index 0000000000000000000000000000000000000000..d999721e1bb732a20973a14c31a5d490a0aec899
--- /dev/null
+++ b/Source/modules/push_messaging/ServiceWorkerRegistrationPush.idl
@@ -0,0 +1,12 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// http://www.w3.org/TR/push-api/#extensions-to-the-serviceworkerregistration-interface
+
+[
+ RuntimeEnabled=PushMessaging,
+] partial interface ServiceWorkerRegistration {
+ // FIXME: this may be renamed depending on the result of https://github.com/w3c/push-api/issues/47
Peter Beverloo 2014/12/10 00:18:18 This FIXME feels a bit useless. If we rename it we
Michael van Ouwerkerk 2014/12/10 15:13:06 You asked for a TODO here. Are you sure about this
+ readonly attribute PushManager pushManager;
+};

Powered by Google App Engine
This is Rietveld 408576698