chromium/components/no_state_prefetch/browser/no_state_prefetch_processor_impl_unittest.cc

// 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.

#include "components/no_state_prefetch/browser/no_state_prefetch_processor_impl.h"

#include "base/functional/callback_helpers.h"
#include "base/memory/raw_ptr.h"
#include "base/run_loop.h"
#include "base/test/bind.h"
#include "components/no_state_prefetch/browser/no_state_prefetch_link_manager.h"
#include "components/no_state_prefetch/browser/no_state_prefetch_processor_impl_delegate.h"
#include "content/public/test/test_browser_context.h"
#include "content/public/test/test_renderer_host.h"
#include "mojo/public/cpp/system/functions.h"
#include "third_party/blink/public/common/features.h"

namespace prerender {

class MockNoStatePrefetchLinkManager final : public NoStatePrefetchLinkManager {};

class MockNoStatePrefetchProcessorImplDelegate final
    : public NoStatePrefetchProcessorImplDelegate {};

class NoStatePrefetchProcessorImplTest
    : public content::RenderViewHostTestHarness {};

TEST_F(NoStatePrefetchProcessorImplTest, StartCancelAbandon) {}

TEST_F(NoStatePrefetchProcessorImplTest, StartAbandon) {}

TEST_F(NoStatePrefetchProcessorImplTest, StartTwice) {}

TEST_F(NoStatePrefetchProcessorImplTest, Cancel) {}

TEST_F(NoStatePrefetchProcessorImplTest, Abandon) {}

}  // namespace prerender