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

Unified Diff: Source/modules/serviceworkers/StashedMessagePort.idl

Issue 1008533005: Initial implementation of stashed message ports, blink side (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 5 years, 7 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/serviceworkers/StashedMessagePort.idl
diff --git a/Source/modules/serviceworkers/StashedMessagePort.idl b/Source/modules/serviceworkers/StashedMessagePort.idl
new file mode 100644
index 0000000000000000000000000000000000000000..3fe6086af5351e4ea1c9100a604fa21b5707fd8d
--- /dev/null
+++ b/Source/modules/serviceworkers/StashedMessagePort.idl
@@ -0,0 +1,12 @@
+// 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://github.com/mkruisselbrink/navigator-connect/blob/gh-pages/docs/api-idea.md#persisted-messageports
+// TODO(mek): Link to actual spec when this is added there.
+[
+ Exposed=ServiceWorker,
+ RuntimeEnabled=NavigatorConnect,
+] interface StashedMessagePort : MessagePort {
+ readonly attribute DOMString name;
+};
« no previous file with comments | « Source/modules/serviceworkers/StashedMessagePort.cpp ('k') | Source/modules/serviceworkers/StashedPortCollection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698