Chromium Code Reviews| Index: third_party/WebKit/Source/core/fetch/ResourceStatus.h |
| diff --git a/third_party/WebKit/Source/core/fetch/ResourceStatus.h b/third_party/WebKit/Source/core/fetch/ResourceStatus.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..6864d66473da6f41777b31338498d83ad08e1bbe |
| --- /dev/null |
| +++ b/third_party/WebKit/Source/core/fetch/ResourceStatus.h |
| @@ -0,0 +1,20 @@ |
| +// Copyright 2016 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef ResourceStatus_h |
| +#define ResourceStatus_h |
| + |
| +namespace blink { |
| + |
| +enum class ResourceStatus { |
| + NotStarted, |
|
Takashi Toyoshima
2016/12/09 07:20:38
How about changing this to new kFooBar style toget
hiroshige
2016/12/09 07:52:39
I think it's better to do it together with erasing
|
| + Pending, // load in progress |
| + Cached, // load completed successfully |
| + LoadError, |
| + DecodeError |
| +}; |
| + |
| +} // namespace blink |
| + |
| +#endif |