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

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

Issue 210833004: Inform the client when the Service Worker rejects an install event (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: sync Created 6 years, 9 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
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2
tkent 2014/03/26 08:46:03 The blank line should be removed.
falken 2014/03/26 14:38:33 Done.
3 // Use of this source code is governed by a BSD-style license that can be
4 // found in the LICENSE file.
5
6 #ifndef WebServiceWorkerEventResult_h
7 #define WebServiceWorkerEventResult_h
8
9 namespace blink {
10
11 // Indicates how the service worker handled an event.
12 enum WebServiceWorkerEventResult {
13 // The event dispatch completed with no rejections.
14 WebServiceWorkerEventResultCompleted = 0,
15 // The service worker associated the event with a promise that was rejected
16 // (e.g., the promise passed to waitUntil for an install event was rejected) .
17 WebServiceWorkerEventResultRejected,
18 WebServiceWorkerEventResultLast = WebServiceWorkerEventResultRejected
19 };
20
21 } // namespace blink
22
23 #endif // WebServiceWorkerEventResult_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698