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

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

Issue 1262943002: Move ServiceWorker public headers to public/{web,platform}/modules/serviceworker (1/3) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebased 2 Created 5 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 | Annotate | Revision Log
« no previous file with comments | « public/platform/WebServiceWorkerError.h ('k') | public/platform/WebServiceWorkerProvider.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "public/platform/modules/serviceworker/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 | « public/platform/WebServiceWorkerError.h ('k') | public/platform/WebServiceWorkerProvider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698