// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_PRELOADING_PREFETCH_PREFETCH_SERVICE_PREFETCH_ORIGIN_DECIDER_H_ #define CHROME_BROWSER_PRELOADING_PREFETCH_PREFETCH_SERVICE_PREFETCH_ORIGIN_DECIDER_H_ #include <map> #include "base/memory/raw_ptr.h" #include "base/time/clock.h" #include "base/time/default_clock.h" #include "base/time/time.h" #include "url/gurl.h" #include "url/origin.h" class PrefService; class PrefRegistrySimple; // A browser-scoped class that maintains persistent logic for when origins // should not be prefetched. class PrefetchOriginDecider { … }; #endif // CHROME_BROWSER_PRELOADING_PREFETCH_PREFETCH_SERVICE_PREFETCH_ORIGIN_DECIDER_H_