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

Unified Diff: third_party/WebKit/Source/modules/push_messaging/PushSubscriptionOptionsInit.idl

Issue 2133673002: Push API: Implement and ship PushSubscription.options (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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: third_party/WebKit/Source/modules/push_messaging/PushSubscriptionOptionsInit.idl
diff --git a/third_party/WebKit/Source/modules/push_messaging/PushSubscriptionOptions.idl b/third_party/WebKit/Source/modules/push_messaging/PushSubscriptionOptionsInit.idl
similarity index 74%
copy from third_party/WebKit/Source/modules/push_messaging/PushSubscriptionOptions.idl
copy to third_party/WebKit/Source/modules/push_messaging/PushSubscriptionOptionsInit.idl
index e4ee9b8108955c09827a3cbe1202e27a89e5a925..0e46a8833cff91b9fdad482d8d733d59265f8ffe 100644
--- a/third_party/WebKit/Source/modules/push_messaging/PushSubscriptionOptions.idl
+++ b/third_party/WebKit/Source/modules/push_messaging/PushSubscriptionOptionsInit.idl
@@ -2,9 +2,9 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// https://w3c.github.io/push-api/#idl-def-PushSubscriptionOptions
+// https://w3c.github.io/push-api/#idl-def-PushSubscriptionOptionsInit
-dictionary PushSubscriptionOptions {
+dictionary PushSubscriptionOptionsInit {
boolean userVisibleOnly = false;
- BufferSource applicationServerKey;
+ BufferSource? applicationServerKey = null;
};

Powered by Google App Engine
This is Rietveld 408576698