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

Unified Diff: third_party/WebKit/Source/core/mojo/MojoCreateMessagePipeResult.idl

Issue 2400563002: Adds Mojo IDL. (Closed)
Patch Set: implements messagepipe Created 4 years, 2 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/core/mojo/MojoCreateMessagePipeResult.idl
diff --git a/third_party/WebKit/Source/modules/push_messaging/PushSubscriptionOptionsInit.idl b/third_party/WebKit/Source/core/mojo/MojoCreateMessagePipeResult.idl
similarity index 56%
copy from third_party/WebKit/Source/modules/push_messaging/PushSubscriptionOptionsInit.idl
copy to third_party/WebKit/Source/core/mojo/MojoCreateMessagePipeResult.idl
index 720101854ed1653d3621a18d4d5f337656084ae0..88da590053979f807d27fa4fa0b2ad9d10eb6a0e 100644
--- a/third_party/WebKit/Source/modules/push_messaging/PushSubscriptionOptionsInit.idl
+++ b/third_party/WebKit/Source/core/mojo/MojoCreateMessagePipeResult.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-PushSubscriptionOptionsInit
-
-dictionary PushSubscriptionOptionsInit {
- boolean userVisibleOnly = false;
- BufferSource? applicationServerKey = null;
+dictionary MojoCreateMessagePipeResult {
+ // TODO(alokp): Consider raising exception for error.
+ required MojoResult result;
+ MojoMessagePipeHandle handle0;
+ MojoMessagePipeHandle handle1;
};

Powered by Google App Engine
This is Rietveld 408576698