commit | b0f4c7ce78b25c620cd3bd3253520cdabcb63ee9 | [log] [tgz] |
---|---|---|
author | Matt Menke <[email protected]> | Fri Jul 06 19:25:30 2018 |
committer | Commit Bot <[email protected]> | Fri Jul 06 19:25:30 2018 |
tree | 559d56b0849a006ed5b8fc43276f9093970b67cf | |
parent | 3e00a2d71325ed7374a5db08c491f6ed15e3968f [diff] [blame] |
Add a "feature" to scale the disk cache size. This is for use with the same disk cache for media experiment. Bug: 789657 Change-Id: I3374166de4811df85b6c38e8988fee42a609f96f Reviewed-on: https://chromium-review.googlesource.com/1124764 Reviewed-by: Maks Orlovich <[email protected]> Commit-Queue: Matt Menke <[email protected]> Cr-Commit-Position: refs/heads/master@{#573040}
diff --git a/net/disk_cache/cache_util.h b/net/disk_cache/cache_util.h index 25940124..0a831ee 100644 --- a/net/disk_cache/cache_util.h +++ b/net/disk_cache/cache_util.h
@@ -7,6 +7,7 @@ #include <stdint.h> +#include "base/feature_list.h" #include "net/base/net_export.h" #include "net/disk_cache/disk_cache.h" @@ -16,6 +17,8 @@ namespace disk_cache { +NET_EXPORT_PRIVATE extern const base::Feature kChangeDiskCacheSizeExperiment; + // Moves the cache files from the given path to another location. // Fails if the destination exists already, or if it doesn't have // permission for the operation. This is basically a rename operation