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

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

Issue 2918893002: evict larger entries first (Closed)
Patch Set: tests added, comments addressed 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
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..67a3bdfd6bcdd2041ce74d5cba8c8091f17afe64 100644
--- a/net/disk_cache/simple/simple_experiment.h
+++ b/net/disk_cache/simple/simple_experiment.h
@@ -14,13 +14,17 @@
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,
+ EVICT_WITH_SIZE = 2,
pasko 2017/07/18 15:30:01 Please note in the comment how the param is used (
hubbe 2017/07/18 18:27:39 Done.
};
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_experiment.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698