OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 WebServiceWorkerResponseError_h | 5 #include "public/platform/modules/serviceworker/WebServiceWorkerResponseError.h" |
6 #define WebServiceWorkerResponseError_h | |
7 | |
8 namespace blink { | |
9 | |
10 // This enum is used in UMA histograms, so don't change the order or remove | |
11 // entries. | |
12 enum WebServiceWorkerResponseError { | |
13 WebServiceWorkerResponseErrorUnknown, | |
14 WebServiceWorkerResponseErrorPromiseRejected, | |
15 WebServiceWorkerResponseErrorDefaultPrevented, | |
16 WebServiceWorkerResponseErrorNoV8Instance, | |
17 WebServiceWorkerResponseErrorResponseTypeError, | |
18 WebServiceWorkerResponseErrorResponseTypeOpaque, | |
19 WebServiceWorkerResponseErrorResponseTypeNotBasicOrDefault, | |
20 WebServiceWorkerResponseErrorBodyUsed, | |
21 WebServiceWorkerResponseErrorResponseTypeOpaqueForClientRequest, | |
22 WebServiceWorkerResponseErrorLast = WebServiceWorkerResponseErrorResponseTyp
eOpaqueForClientRequest | |
23 }; | |
24 | |
25 } // namespace blink | |
26 | |
27 #endif // WebServiceWorkerResponseError_h | |
OLD | NEW |