Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(983)

Unified Diff: third_party/WebKit/Source/core/fetch/ResourceStatus.h

Issue 2537063002: Split Resource::Status into a separate file (Closed)
Patch Set: Rebase Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/core/fetch/Resource.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « third_party/WebKit/Source/core/fetch/Resource.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698