Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 module content.mojom; | |
| 6 | |
| 7 // 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.
| |
| 8 // 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.
| |
| 9 // the connection is disconnected. | |
| 10 interface ServiceWorkerProviderHost { | |
| 11 // TODO(shimazu): implement them. | |
| 12 // register() => (); | |
| 13 // getRegistation() => (); | |
| 14 // getRegistrations() => (); | |
| 15 // getRegistrationForReady() => (); | |
| 16 }; | |
| 17 | |
| 18 // Renderer-side interface bound to ServiceWorkerProviderContext. | |
|
falken
2017/03/28 06:29:43
similar as above
shimazu
2017/05/08 08:34:29
Done.
| |
| 19 interface ServiceWorkerProvider { | |
| 20 // TODO(shimazu): implement them. | |
| 21 // associateRegistration(); | |
| 22 // disassociateRegistration(); | |
| 23 // setControllerServiceWorker(); | |
| 24 // messageToDocument(); | |
| 25 }; | |
| OLD | NEW |