| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 ResourceStatus_h | 5 #ifndef ResourceStatus_h |
| 6 #define ResourceStatus_h | 6 #define ResourceStatus_h |
| 7 | 7 |
| 8 namespace blink { | 8 namespace blink { |
| 9 | 9 |
| 10 enum class ResourceStatus { | 10 enum class ResourceStatus : uint8_t { |
| 11 kNotStarted, | 11 kNotStarted, |
| 12 kPending, // load in progress | 12 kPending, // load in progress |
| 13 kCached, // load completed successfully | 13 kCached, // load completed successfully |
| 14 kLoadError, | 14 kLoadError, |
| 15 kDecodeError | 15 kDecodeError |
| 16 }; | 16 }; |
| 17 | 17 |
| 18 } // namespace blink | 18 } // namespace blink |
| 19 | 19 |
| 20 #endif | 20 #endif |
| OLD | NEW |