diff --git a/net/disk_cache/cache_util.h b/net/disk_cache/cache_util.h index 641f15476a39a..22da27450b01f 100644 --- a/net/disk_cache/cache_util.h +++ b/net/disk_cache/cache_util.h @@ -20,7 +20,7 @@ namespace disk_cache { // Experiment to increase the cache size to see the impact on various // performance metrics. -NET_EXPORT_PRIVATE extern const base::Feature kChangeDiskCacheSizeExperiment; +NET_EXPORT_PRIVATE BASE_DECLARE_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 diff --git a/net/disk_cache/simple/simple_synchronous_entry.h b/net/disk_cache/simple/simple_synchronous_entry.h index f268ab2ea4cb5..a8610d2676ef5 100644 --- a/net/disk_cache/simple/simple_synchronous_entry.h +++ b/net/disk_cache/simple/simple_synchronous_entry.h @@ -41,7 +41,7 @@ namespace disk_cache { class BackendFileOperations; class UnboundBackendFileOperations; -NET_EXPORT_PRIVATE extern const base::Feature kSimpleCachePrefetchExperiment; +NET_EXPORT_PRIVATE BASE_DECLARE_FEATURE(kSimpleCachePrefetchExperiment); NET_EXPORT_PRIVATE extern const char kSimpleCacheFullPrefetchBytesParam[]; NET_EXPORT_PRIVATE extern const char kSimpleCacheTrailerPrefetchSpeculativeBytesParam[];