OLD | NEW |
---|---|
(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 | |
OLD | NEW |