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

Side by Side Diff: public/web/WebServiceWorkerPushEventCallback.h

Issue 285403002: Push API: define push event on Service Worker. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase. Avoid modifying modules/serviceworkers/. Created 6 years, 7 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
OLDNEW
(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 WebServiceWorkerPushEventCallback_h
6 #define WebServiceWorkerPushEventCallback_h
7
8 namespace blink {
9
10 class WebServiceWorkerPushEventCallback {
11 public:
12 // Method to be invoked after PushEvent is handled by the ServiceWorker's
13 // script context.
14 virtual void didHandlePushEvent(int eventID) const = 0;
15
16 protected:
17 // This object is to be destroyed after the callback is invoked;
18 // it should not be directly destroyed.
19 virtual ~WebServiceWorkerPushEventCallback() { }
Peter Beverloo 2014/05/22 16:09:49 We don't need this destructor. You could emphasize
Michael van Ouwerkerk 2014/05/23 18:32:03 Done.
20 };
21
22 } // namespace blink
23
24 #endif // WebServiceWorkerPushEventCallback_h
OLDNEW
« public/web/WebServiceWorkerContextProxy.h ('K') | « public/web/WebServiceWorkerContextProxy.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698