Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2014 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 #ifndef WebServiceWorkerRegistrationProxy_h | |
| 6 #define WebServiceWorkerRegistrationProxy_h | |
| 7 | |
| 8 namespace blink { | |
| 9 | |
| 10 class WebServiceWorker; | |
| 11 | |
| 12 // A proxy interface, passed via WebServiceWorkerRegistration.setProxy() from | |
| 13 // blink to the embedder, to talk to the ServiceWorkerRegistration object from | |
| 14 // embedder. | |
| 15 class WebServiceWorkerRegistrationProxy { | |
| 16 public: | |
| 17 WebServiceWorkerRegistrationProxy() { } | |
| 18 virtual ~WebServiceWorkerRegistrationProxy() { } | |
| 19 | |
| 20 // Notifies that the registration enters the installation process. | |
|
falken
2014/08/08 10:09:02
will enter? or entered?
nhiroki
2014/08/08 10:36:24
Done. This event is fired after the worker is mark
| |
| 21 // The installing worker should be accessible via | |
| 22 // WebServiceWorkerRegistration.installing. | |
| 23 virtual void dispatchUpdateFoundEvent() = 0; | |
| 24 | |
| 25 virtual void setInstalling(WebServiceWorker*) = 0; | |
| 26 virtual void setWaiting(WebServiceWorker*) = 0; | |
| 27 virtual void setActive(WebServiceWorker*) = 0; | |
| 28 }; | |
| 29 | |
| 30 } // namespace blink | |
| 31 | |
| 32 #endif // WebServiceWorkerRegistrationProxy_h | |
| OLD | NEW |