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

Unified Diff: net/disk_cache/simple/simple_experiment.h

Issue 2918893002: evict larger entries first (Closed)
Patch Set: -SortHelper Created 3 years, 5 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 | net/disk_cache/simple/simple_experiment.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/disk_cache/simple/simple_experiment.h
diff --git a/net/disk_cache/simple/simple_experiment.h b/net/disk_cache/simple/simple_experiment.h
index 2231e852266f27aa449e23cc4295c6fccc6e20e5..7f20ae07bca73af049810edce9c36dfae9a20e4b 100644
--- a/net/disk_cache/simple/simple_experiment.h
+++ b/net/disk_cache/simple/simple_experiment.h
@@ -14,13 +14,20 @@
namespace disk_cache {
NET_EXPORT_PRIVATE extern const base::Feature kSimpleSizeExperiment;
+NET_EXPORT_PRIVATE extern const base::Feature
+ kSimpleCacheEvictionWithSizeExperiment;
NET_EXPORT_PRIVATE extern const char kSizeMultiplierParam[];
+NET_EXPORT_PRIVATE extern const char kSizeEvictionParam[];
// This lists the experiment groups for SimpleCache. Only add new groups at
// the end of the list, and always increase the number.
enum class SimpleExperimentType : uint32_t {
NONE = 0,
SIZE = 1,
+
+ // param = 0 -> control group
+ // param = 1 -> experiment group
+ EVICT_WITH_SIZE = 2,
};
struct NET_EXPORT_PRIVATE SimpleExperiment {
« no previous file with comments | « no previous file | net/disk_cache/simple/simple_experiment.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698