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

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: use m_hasError in WaitUntilObserver 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 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef WebServiceWorkerEventResult_h
6 #define WebServiceWorkerEventResult_h
7
8 namespace blink {
9
10 // Indicates how the service worker handled an event.
11 enum WebServiceWorkerEventResult {
12 // The event dispatch completed with no rejections.
13 WebServiceWorkerEventResultCompleted = 0,
14 // The service worker associated the event with a promise that was rejected
15 // (e.g., the promise passed to waitUntil for an install event was rejected) .
16 WebServiceWorkerEventResultRejected,
17 WebServiceWorkerEventResultLast = WebServiceWorkerEventResultRejected
18 };
19
20 } // namespace blink
21
22 #endif // WebServiceWorkerEventResult_h
OLDNEW
« no previous file with comments | « Source/web/ServiceWorkerGlobalScopeClientImpl.cpp ('k') | public/web/WebServiceWorkerContextClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698