Chromium Code Reviews| 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..982c42b8559ab9420391f3ed7e482f1eb8eaddeb 100644 |
| --- a/net/disk_cache/simple/simple_experiment.h |
| +++ b/net/disk_cache/simple/simple_experiment.h |
| @@ -31,6 +31,13 @@ struct NET_EXPORT_PRIVATE SimpleExperiment { |
| NET_EXPORT_PRIVATE SimpleExperiment |
| GetSimpleExperiment(net::CacheType cache_type); |
| +NET_EXPORT_PRIVATE extern const base::Feature kSimpleCachePrefetchExperiment; |
| +NET_EXPORT_PRIVATE extern const char kSimplePrefetchBytesParam[]; |
| + |
| +// Returns how large a file would get prefetched on reading the entry. |
| +// If the experiment is disabled, returns 0. |
| +NET_EXPORT_PRIVATE int GetSimpleCachePrefetchSize(); |
|
pasko
2017/07/18 14:02:57
I think this file is for experiments that depend o
Maks Orlovich
2017/07/25 16:06:29
OK, done. This PoV is more convincing with the evi
|
| + |
| } // namespace disk_cache |
| #endif // NET_DISK_CACHE_SIMPLE_SIMPLE_EXPERIMENT_H_ |