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 { |
11 NotStarted, | 11 NotStarted, |
12 Pending, // load in progress | 12 Pending, // load in progress |
13 Cached, // load completed successfully | 13 Cached, // load completed successfully |
14 LoadError, | 14 LoadError, |
15 DecodeError | 15 DecodeError |
16 }; | 16 }; |
17 | 17 |
18 } // namespace blink | 18 } // namespace blink |
19 | 19 |
20 #endif | 20 #endif |
OLD | NEW |