#include "chrome/browser/preloading/prefetch/prefetch_service/prefetch_origin_decider.h"
#include "base/test/metrics/histogram_tester.h"
#include "base/test/scoped_feature_list.h"
#include "base/test/simple_test_clock.h"
#include "components/prefs/testing_pref_service.h"
#include "testing/gtest/include/gtest/gtest.h"
class PrefetchOriginDeciderTest : public testing::Test { … };
TEST_F(PrefetchOriginDeciderTest, DefaultEligible) { … }
TEST_F(PrefetchOriginDeciderTest, NegativeIgnored) { … }
TEST_F(PrefetchOriginDeciderTest, WaitsForDelta) { … }
TEST_F(PrefetchOriginDeciderTest, ByOrigin) { … }
TEST_F(PrefetchOriginDeciderTest, Clear) { … }
TEST_F(PrefetchOriginDeciderTest, PersistentPrefs) { … }