// Copyright 2018 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef SERVICES_NETWORK_HTTP_CACHE_DATA_COUNTER_H_ #define SERVICES_NETWORK_HTTP_CACHE_DATA_COUNTER_H_ #include <memory> #include "base/component_export.h" #include "base/functional/callback.h" #include "base/memory/raw_ptr.h" #include "base/memory/weak_ptr.h" #include "base/time/time.h" namespace disk_cache { class Backend; } namespace net { class URLRequestContext; } namespace network { // Helper to count data in HTTP cache. // Export is for testing only. class COMPONENT_EXPORT(NETWORK_SERVICE) HttpCacheDataCounter { … }; } // namespace network #endif // SERVICES_NETWORK_HTTP_CACHE_DATA_COUNTER_H_