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

Unified Diff: third_party/WebKit/public/platform/WebCachePolicy.h

Issue 2920663002: Class/struct layout optimization for blink Resource related classes (Closed)
Patch Set: Rebase Created 3 years, 6 months 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
Index: third_party/WebKit/public/platform/WebCachePolicy.h
diff --git a/third_party/WebKit/public/platform/WebCachePolicy.h b/third_party/WebKit/public/platform/WebCachePolicy.h
index 09700b1f38803930f8bdc78b7548142cc5d8da82..b934b72646303cc2d62769d0b51845fea1062ab0 100644
--- a/third_party/WebKit/public/platform/WebCachePolicy.h
+++ b/third_party/WebKit/public/platform/WebCachePolicy.h
@@ -7,7 +7,7 @@
namespace blink {
-enum class WebCachePolicy {
+enum class WebCachePolicy : uint8_t {
kUseProtocolCachePolicy, // normal load
kValidatingCacheData, // reload
kBypassingCache, // end-to-end reload
@@ -15,7 +15,7 @@ enum class WebCachePolicy {
// data
kReturnCacheDataDontLoad, // results of a post - allow stale data and only
// use cache
- kReturnCacheDataIfValid, // for cache-aware loading - disallow stale data
+ kReturnCacheDataIfValid, // for cache-aware loading - disallow stale data
kBypassCacheLoadOnlyFromCache, // for cache-only load when disable cache
// is enabled. Results in a network error.
};
« no previous file with comments | « third_party/WebKit/Source/platform/weborigin/ReferrerPolicy.h ('k') | third_party/WebKit/public/platform/WebURLRequest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698