#include <functional>
#include <list>
#include <memory>
#include "base/memory/ptr_util.h"
#include "mojo/public/cpp/bindings/receiver_set.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/mojom/prerender/prerender.mojom-blink.h"
#include "third_party/blink/public/platform/browser_interface_broker_proxy.h"
#include "third_party/blink/public/platform/web_cache.h"
#include "third_party/blink/public/platform/web_string.h"
#include "third_party/blink/public/web/web_frame.h"
#include "third_party/blink/public/web/web_no_state_prefetch_client.h"
#include "third_party/blink/public/web/web_script_source.h"
#include "third_party/blink/public/web/web_view.h"
#include "third_party/blink/public/web/web_view_client.h"
#include "third_party/blink/renderer/core/dom/element.h"
#include "third_party/blink/renderer/core/dom/node_traversal.h"
#include "third_party/blink/renderer/core/frame/frame_test_helpers.h"
#include "third_party/blink/renderer/core/frame/web_local_frame_impl.h"
#include "third_party/blink/renderer/core/html_element_type_helpers.h"
#include "third_party/blink/renderer/platform/testing/task_environment.h"
#include "third_party/blink/renderer/platform/testing/unit_test_helpers.h"
#include "third_party/blink/renderer/platform/testing/url_loader_mock_factory.h"
#include "third_party/blink/renderer/platform/testing/url_test_helpers.h"
namespace blink {
namespace {
class TestWebNoStatePrefetchClient : public WebNoStatePrefetchClient { … };
class MockNoStatePrefetchProcessor
: public mojom::blink::NoStatePrefetchProcessor { … };
class PrerenderTest : public testing::Test { … };
}
TEST_F(PrerenderTest, SinglePrerender) { … }
TEST_F(PrerenderTest, CancelPrerender) { … }
TEST_F(PrerenderTest, TwoPrerenders) { … }
TEST_F(PrerenderTest, TwoPrerendersRemovingFirstThenNavigating) { … }
TEST_F(PrerenderTest, TwoPrerendersAddingThird) { … }
TEST_F(PrerenderTest, MutateTarget) { … }
TEST_F(PrerenderTest, MutateRel) { … }
TEST_F(PrerenderTest, OriginTypeUseCounter) { … }
}