OLD | NEW |
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 WebServiceWorkerState_h | 5 #ifndef WebServiceWorkerState_h |
6 #define WebServiceWorkerState_h | 6 #define WebServiceWorkerState_h |
7 | 7 |
8 namespace blink { | 8 namespace blink { |
9 | 9 |
10 enum WebServiceWorkerState { | 10 enum WebServiceWorkerState { |
11 WebServiceWorkerStateUnknown, | 11 WebServiceWorkerStateUnknown, |
12 WebServiceWorkerStateParsed, | |
13 WebServiceWorkerStateInstalling, | 12 WebServiceWorkerStateInstalling, |
14 WebServiceWorkerStateInstalled, | 13 WebServiceWorkerStateInstalled, |
15 WebServiceWorkerStateActivating, | 14 WebServiceWorkerStateActivating, |
16 WebServiceWorkerStateActivated, | 15 WebServiceWorkerStateActivated, |
17 WebServiceWorkerStateRedundant, | 16 WebServiceWorkerStateRedundant, |
18 WebServiceWorkerStateLast = WebServiceWorkerStateRedundant | 17 WebServiceWorkerStateLast = WebServiceWorkerStateRedundant |
19 }; | 18 }; |
20 | 19 |
21 } // namespace blink | 20 } // namespace blink |
22 | 21 |
23 #endif // WebServiceWorkerState_h | 22 #endif // WebServiceWorkerState_h |
OLD | NEW |