Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(24)

Side by Side Diff: public/platform/WebServiceWorkerRegistrationProxy.h

Issue 1262943002: Move ServiceWorker public headers to public/{web,platform}/modules/serviceworker (1/3) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebased 2 Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef WebServiceWorkerRegistrationProxy_h 5 #include "public/platform/modules/serviceworker/WebServiceWorkerRegistrationProx y.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 // Notifies that the registration entered the installation process.
18 // The installing worker should be accessible via
19 // WebServiceWorkerRegistration.installing.
20 virtual void dispatchUpdateFoundEvent() = 0;
21
22 virtual void setInstalling(WebServiceWorker*) = 0;
23 virtual void setWaiting(WebServiceWorker*) = 0;
24 virtual void setActive(WebServiceWorker*) = 0;
25
26 protected:
27 virtual ~WebServiceWorkerRegistrationProxy() { }
28 };
29
30 } // namespace blink
31
32 #endif // WebServiceWorkerRegistrationProxy_h
OLDNEW
« no previous file with comments | « public/platform/WebServiceWorkerRegistration.h ('k') | public/platform/WebServiceWorkerRequest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698