| Index: third_party/WebKit/Source/core/fetch/Resource.h
|
| diff --git a/third_party/WebKit/Source/core/fetch/Resource.h b/third_party/WebKit/Source/core/fetch/Resource.h
|
| index 259ca058a1f7ed68366a4d2ca1e915fabaffa8bb..b659b3ea967c9ed86ecf67d2d8a4ec41dac8491e 100644
|
| --- a/third_party/WebKit/Source/core/fetch/Resource.h
|
| +++ b/third_party/WebKit/Source/core/fetch/Resource.h
|
| @@ -57,6 +57,9 @@ class SharedBuffer;
|
| class CORE_EXPORT Resource : public GarbageCollectedFinalized<Resource> {
|
| WTF_MAKE_NONCOPYABLE(Resource);
|
| public:
|
| + // |Type| enum values are used in UMAs, so do not change the values of
|
| + // existing |Type|. When adding a new |Type|, append it at the end and
|
| + // update |kLastResourceType|.
|
| enum Type {
|
| MainResource,
|
| Image,
|
| @@ -73,6 +76,7 @@ public:
|
| Media, // Audio or video file requested by a HTML5 media element
|
| Manifest
|
| };
|
| + static const int kLastResourceType = Manifest + 1;
|
|
|
| enum Status {
|
| NotStarted,
|
|
|