// Copyright 2021 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef THIRD_PARTY_BLINK_RENDERER_PLATFORM_BACK_FORWARD_CACHE_BUFFER_LIMIT_TRACKER_H_ #define THIRD_PARTY_BLINK_RENDERER_PLATFORM_BACK_FORWARD_CACHE_BUFFER_LIMIT_TRACKER_H_ #include <cstddef> #include "base/synchronization/lock.h" #include "base/thread_annotations.h" #include "third_party/blink/renderer/platform/platform_export.h" namespace blink { // Singleton utility class for process-wide back-forward cache buffer limit // tracking. All the methods are concurrent-safe. class PLATFORM_EXPORT BackForwardCacheBufferLimitTracker { … }; } // namespace blink #endif // THIRD_PARTY_BLINK_RENDERER_PLATFORM_BACK_FORWARD_CACHE_BUFFER_LIMIT_TRACKER_H_