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

Unified Diff: Source/core/fetch/Resource.h

Issue 23734006: Add histograms to ResourceFetcher to measure memory cache hit rate. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 3 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
« no previous file with comments | « no previous file | Source/core/fetch/ResourceFetcher.cpp » ('j') | Source/core/fetch/ResourceFetcher.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/fetch/Resource.h
diff --git a/Source/core/fetch/Resource.h b/Source/core/fetch/Resource.h
index 6d5526b8db38b98471d56c4fdcf1f900af7ce760..4867785d4a678131ca54e21eae2eed82f3f4b78d 100644
--- a/Source/core/fetch/Resource.h
+++ b/Source/core/fetch/Resource.h
@@ -58,7 +58,7 @@ class Resource {
public:
enum Type {
- MainResource,
+ MainResource = 0,
abarth-chromium 2013/09/13 17:38:18 This change doesn't do anything.
Philippe 2013/09/16 11:47:21 Done.
Image,
CSSStyleSheet,
Script,
@@ -70,7 +70,8 @@ public:
LinkSubresource,
TextTrack,
Shader,
- ImportResource
+ ImportResource,
+ TypeBoundaryValue = 13, // Used for histograms.
abarth-chromium 2013/09/13 17:38:18 What is TypeBoundaryValue? Perhaps you mean Numbe
Philippe 2013/09/16 11:47:21 Done.
};
enum Status {
« no previous file with comments | « no previous file | Source/core/fetch/ResourceFetcher.cpp » ('j') | Source/core/fetch/ResourceFetcher.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698