chromium/components/no_state_prefetch/browser/no_state_prefetch_processor_impl.h

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

#ifndef COMPONENTS_NO_STATE_PREFETCH_BROWSER_NO_STATE_PREFETCH_PROCESSOR_IMPL_H_
#define COMPONENTS_NO_STATE_PREFETCH_BROWSER_NO_STATE_PREFETCH_PROCESSOR_IMPL_H_

#include "components/no_state_prefetch/browser/no_state_prefetch_processor_impl_delegate.h"
#include "mojo/public/cpp/bindings/receiver.h"
#include "third_party/blink/public/mojom/prerender/prerender.mojom.h"
#include "url/origin.h"

namespace content {
class RenderFrameHost;
}  // namespace content

namespace prerender {

// NoStatePrefetchProcessorImpl implements
// blink::mojom::NoStatePrefetchProcessor and works as the browser-side entry
// point of NoStatePrefetch for <link rel=prerender>. This is a self-owned
// object and deletes itself when the mojo connection is lost.
class NoStatePrefetchProcessorImpl
    : public blink::mojom::NoStatePrefetchProcessor {};

}  // namespace prerender

#endif  // COMPONENTS_NO_STATE_PREFETCH_BROWSER_NO_STATE_PREFETCH_PROCESSOR_IMPL_H_