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

Unified Diff: content/common/service_worker/service_worker_provider_interfaces.mojom

Issue 2653493009: Add two interfaces for ServiceWorkerProviderContext/ProviderHost (Closed)
Patch Set: Rebase Created 3 years, 9 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: content/common/service_worker/service_worker_provider_interfaces.mojom
diff --git a/content/common/service_worker/service_worker_provider_interfaces.mojom b/content/common/service_worker/service_worker_provider_interfaces.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..417ac18972c13411dc8fdb23c329cd4f0eecd89b
--- /dev/null
+++ b/content/common/service_worker/service_worker_provider_interfaces.mojom
@@ -0,0 +1,25 @@
+// Copyright 2017 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.
+
+module content.mojom;
+
+// Browser-side interface bound to ServiceWorkerProviderHost.
falken 2017/03/28 06:29:43 This might read better as "mojom::ServiceWorkerPro
shimazu 2017/05/08 08:34:29 Done.
+// ServiceWorkerProviderHost bouhd with this interface will be destroyed when
falken 2017/03/28 06:29:43 "A content::ServiceWorkerProviderHost bound with t
shimazu 2017/05/08 08:34:29 Done.
+// the connection is disconnected.
+interface ServiceWorkerProviderHost {
+ // TODO(shimazu): implement them.
+ // register() => ();
+ // getRegistation() => ();
+ // getRegistrations() => ();
+ // getRegistrationForReady() => ();
+};
+
+// Renderer-side interface bound to ServiceWorkerProviderContext.
falken 2017/03/28 06:29:43 similar as above
shimazu 2017/05/08 08:34:29 Done.
+interface ServiceWorkerProvider {
+ // TODO(shimazu): implement them.
+ // associateRegistration();
+ // disassociateRegistration();
+ // setControllerServiceWorker();
+ // messageToDocument();
+};

Powered by Google App Engine
This is Rietveld 408576698