#include "content/browser/preloading/prefetcher.h"
#include <vector>
#include "base/test/scoped_feature_list.h"
#include "content/browser/preloading/prefetch/prefetch_document_manager.h"
#include "content/browser/preloading/prefetch/prefetch_features.h"
#include "content/browser/preloading/prefetch/prefetch_service.h"
#include "content/public/browser/speculation_host_delegate.h"
#include "content/public/common/content_client.h"
#include "content/public/test/test_browser_context.h"
#include "content/public/test/test_renderer_host.h"
#include "content/test/test_content_browser_client.h"
#include "content/test/test_web_contents.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace content {
namespace {
class MockSpeculationHostDelegate : public SpeculationHostDelegate { … };
class TestPrefetchService : public PrefetchService { … };
class MockContentBrowserClient : public TestContentBrowserClient { … };
class PrefetcherTest : public RenderViewHostTestHarness { … };
TEST_F(PrefetcherTest, ProcessCandidatesForPrefetch) { … }
class MockPrefetcher : public Prefetcher { … };
TEST_F(PrefetcherTest, MockPrefetcher) { … }
}
}