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

Side by Side Diff: public/platform/WebServiceWorkerProxy.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 WebServiceWorkerProxy_h 5 #include "public/platform/modules/serviceworker/WebServiceWorkerProxy.h"
6 #define WebServiceWorkerProxy_h
7
8 #include "public/platform/WebCommon.h"
9
10 namespace blink {
11
12 // A proxy interface, passed via WebServiceWorker.setProxy() from blink to
13 // the embedder, to talk to the ServiceWorker object from embedder.
14 class BLINK_PLATFORM_EXPORT WebServiceWorkerProxy {
15 public:
16 // Notifies the proxy that the service worker state changed. The new state
17 // should be accessible via WebServiceWorker.state().
18 virtual void dispatchStateChangeEvent() = 0;
19
20 protected:
21 virtual ~WebServiceWorkerProxy() { }
22 };
23
24 } // namespace blink
25
26 #endif // WebServiceWorkerProxy_h
OLDNEW
« no previous file with comments | « public/platform/WebServiceWorkerProviderClient.h ('k') | public/platform/WebServiceWorkerRegistration.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698