// Copyright 2012 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef NET_BASE_BACKOFF_ENTRY_H_ #define NET_BASE_BACKOFF_ENTRY_H_ #include <stdint.h> #include "base/memory/raw_ptr.h" #include "base/threading/thread_checker.h" #include "base/time/time.h" #include "net/base/net_export.h" namespace base { class TickClock; } namespace net { // Provides the core logic needed for randomized exponential back-off // on requests to a given resource, given a back-off policy. // // This utility class knows nothing about network specifics; it is // intended for reuse in various networking scenarios. class NET_EXPORT BackoffEntry { … }; } // namespace net #endif // NET_BASE_BACKOFF_ENTRY_H_