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

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: Add MODULES_EXPORT 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/mojo/public/cpp/system/message.cc b/third_party/WebKit/Source/modules/push_messaging/PushSubscriptionOptionsInit.idl
similarity index 57%
copy from mojo/public/cpp/system/message.cc
copy to third_party/WebKit/Source/modules/push_messaging/PushSubscriptionOptionsInit.idl
index 09d8d46e6dd15407bd123489ab8bdacdfef381c6..720101854ed1653d3621a18d4d5f337656084ae0 100644
--- a/mojo/public/cpp/system/message.cc
+++ b/third_party/WebKit/Source/modules/push_messaging/PushSubscriptionOptionsInit.idl
@@ -2,12 +2,9 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "mojo/public/cpp/system/message.h"
+// https://w3c.github.io/push-api/#idl-def-PushSubscriptionOptionsInit
-namespace mojo {
-
-ScopedMessageHandle::~ScopedMessageHandle() {
-
-}
-
-} // namespace mojo
+dictionary PushSubscriptionOptionsInit {
+ boolean userVisibleOnly = false;
+ BufferSource? applicationServerKey = null;
+};

Powered by Google App Engine
This is Rietveld 408576698