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 // mojom::ServiceWorkerProviderHost is a browser-side interface. The renderer | |
8 // uses this interface to request the browser to do operations involving service | |
9 // worker registrations. | |
10 interface ServiceWorkerProviderHost { | |
11 // TODO(shimazu): implement them. | |
12 // register() => (); | |
13 // getRegistation() => (); | |
14 // getRegistrations() => (); | |
15 // getRegistrationForReady() => (); | |
16 }; | |
17 | |
18 // mojom::ServiceWorkerProvider is a renderer-side interface. | |
19 // The browser process uses this interface to carry messages to the page's or | |
falken
2017/05/30 04:12:32
s/carry/send
s/the page's/pages
shimazu
2017/05/30 07:24:35
Done.
| |
20 // the service worker's context. | |
21 interface ServiceWorkerProvider { | |
22 // TODO(shimazu): implement them. | |
23 // associateRegistration(); | |
24 // disassociateRegistration(); | |
25 // setControllerServiceWorker(); | |
26 // messageToDocument(); | |
27 }; | |
OLD | NEW |