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

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

Issue 2918893002: evict larger entries first (Closed)
Patch Set: update experiment param 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
« no previous file with comments | « no previous file | net/disk_cache/simple/simple_experiment.cc » ('j') | net/disk_cache/simple/simple_index.cc » ('J')
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..7145d54d8453604da0e9839c991732362e44f409 100644
--- a/net/disk_cache/simple/simple_experiment.h
+++ b/net/disk_cache/simple/simple_experiment.h
@@ -14,6 +14,7 @@
namespace disk_cache {
NET_EXPORT_PRIVATE extern const base::Feature kSimpleSizeExperiment;
+NET_EXPORT_PRIVATE extern const base::Feature kSimpleCacheEvictionWithSize;
NET_EXPORT_PRIVATE extern const char kSizeMultiplierParam[];
// This lists the experiment groups for SimpleCache. Only add new groups at
@@ -21,6 +22,7 @@ NET_EXPORT_PRIVATE extern const char kSizeMultiplierParam[];
enum class SimpleExperimentType : uint32_t {
NONE = 0,
SIZE = 1,
+ 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') | net/disk_cache/simple/simple_index.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698