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(); |
+}; |