Index: content/common/service_worker/service_worker.mojom |
diff --git a/content/common/service_worker/service_worker.mojom b/content/common/service_worker/service_worker.mojom |
index cadade0e8bc56d62b1f5ab18a0140839200d2d83..c5523d7e3b1501935ba3f0fb100913139f22d3f2 100644 |
--- a/content/common/service_worker/service_worker.mojom |
+++ b/content/common/service_worker/service_worker.mojom |
@@ -10,8 +10,11 @@ import "content/common/service_worker/service_worker_provider.mojom"; |
// Each InterfacePtrs on the same render process will be bound to the same |
falken
2017/05/18 04:13:10
All InterfacePtrs on the same renderer process are
shimazu
2017/05/19 08:31:07
Done.
|
// ServiceWorkerDispatcherHost. |
falken
2017/05/18 04:13:09
Add sentence like: The renderer uses this interfac
shimazu
2017/05/19 08:31:07
Done.
|
interface ServiceWorkerDispatcherHost { |
+ // Creates a ServiceWorkerProviderHost on the browser process. |provider_info| |
+ // have mojo endpoints to connect the provider host and the provider on the |
falken
2017/05/18 04:13:10
has Mojo endpoints
shimazu
2017/05/19 08:31:06
Done.
|
+ // renderer together. The lifetime of ServiceWorkerProviderHost will be |
+ // managed with the interface. |
falken
2017/05/18 04:13:10
"managed with the interface" -> "tied to this mojo
shimazu
2017/05/19 08:31:07
Done.
|
OnProviderCreated(ServiceWorkerProviderHostInfo provider_info); |
- OnProviderDestroyed(int32 provider_id); |
// Informs the browser that a service worker is starting up. |provider_id| |
// identifies the ServiceWorkerProviderHost hosting the service |