#include "content/browser/preloading/prerenderer_impl.h"
#include "base/test/scoped_feature_list.h"
#include "content/browser/preloading/preloading_confidence.h"
#include "content/browser/preloading/prerender/prerender_features.h"
#include "content/browser/preloading/prerender/prerender_host_registry.h"
#include "content/public/browser/web_contents_delegate.h"
#include "content/public/common/content_client.h"
#include "content/public/test/prerender_test_util.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/gtest/include/gtest/gtest.h"
namespace content {
namespace {
class PrerendererTest : public RenderViewHostTestHarness { … };
TEST_F(PrerendererTest, StartPrerender) { … }
TEST_F(PrerendererTest, LCPTimingPredictorPrerender2) { … }
TEST_F(PrerendererTest, ProcessFirstSameOriginPrerenderCandidate) { … }
class PrerenderHostRegistryObserver : public PrerenderHostRegistry::Observer { … };
TEST_F(PrerendererTest, TriggerPrerenderWithInsertionOrder) { … }
TEST_F(PrerendererTest, RemoveRendererHostAfterCandidateRemoved) { … }
class PrerendererNewLimitAndSchedulerTest : public PrerendererTest { … };
TEST_F(PrerendererNewLimitAndSchedulerTest,
RemoveRendererHostAfterNonEagerLimitCancel) { … }
TEST_F(PrerendererTest, MaybePrerenderAndShouldWaitForPrerenderResult) { … }
}
}