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

Unified Diff: Source/modules/navigatorconnect/WorkerNavigatorServices.idl

Issue 1192913003: Start implementing new navigator.connect API (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: override instead of virtual Created 5 years, 6 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: Source/modules/navigatorconnect/WorkerNavigatorServices.idl
diff --git a/Source/modules/navigatorconnect/NavigatorConnect.idl b/Source/modules/navigatorconnect/WorkerNavigatorServices.idl
similarity index 51%
copy from Source/modules/navigatorconnect/NavigatorConnect.idl
copy to Source/modules/navigatorconnect/WorkerNavigatorServices.idl
index 38c3ea98bcbc22384e5ce4a52897db46a2cb31c4..e5e87bd8892548f54f6a7ef13049a4117572125e 100644
--- a/Source/modules/navigatorconnect/NavigatorConnect.idl
+++ b/Source/modules/navigatorconnect/WorkerNavigatorServices.idl
@@ -1,10 +1,10 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
+// Copyright 2015 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.
-// https://mkruisselbrink.github.io/navigator-connect/#idl-def-NavigatorConnect
+// https://mkruisselbrink.github.io/navigator-connect/#idl-def-NavigatorServices
[
RuntimeEnabled=NavigatorConnect,
-] partial interface Navigator {
- [CallWith=ScriptState] Promise connect(USVString url);
+] partial interface WorkerNavigator {
+ [CallWith=ExecutionContext] readonly attribute ServicePortCollection services;
};

Powered by Google App Engine
This is Rietveld 408576698