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

Side by Side Diff: third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerEventResult.h

Issue 2168513004: [DO NOT COMMIT] ServiceWorker: First touch of mojo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove an unnecessary file Created 4 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
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 WebServiceWorkerEventResult_h 5 #ifndef WebServiceWorkerEventResult_h
6 #define WebServiceWorkerEventResult_h 6 #define WebServiceWorkerEventResult_h
7 7
8 namespace blink { 8 namespace blink {
9 9
10 // Indicates how the service worker handled an event. 10 // Indicates how the service worker handled an event.
11 enum WebServiceWorkerEventResult { 11 enum WebServiceWorkerEventResult {
12 // The event dispatch completed with no rejections. 12 // The event dispatch completed with no rejections.
13 WebServiceWorkerEventResultCompleted = 0, 13 WebServiceWorkerEventResultCompleted = 0,
14 // The service worker associated the event with a promise that was rejected 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) . 15 // (e.g., the promise passed to waitUntil for an install event was rejected) .
16 WebServiceWorkerEventResultRejected, 16 WebServiceWorkerEventResultRejected,
17 WebServiceWorkerEventResultLast = WebServiceWorkerEventResultRejected 17 WebServiceWorkerEventResultAborted,
18 WebServiceWorkerEventResultLast = WebServiceWorkerEventResultAborted
18 }; 19 };
19 20
20 } // namespace blink 21 } // namespace blink
21 22
22 #endif // WebServiceWorkerEventResult_h 23 #endif // WebServiceWorkerEventResult_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698