chromium/components/no_state_prefetch/renderer/prerender_observer_list.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/renderer/prerender_observer_list.h"

#include "base/memory/ptr_util.h"
#include "base/observer_list.h"
#include "components/no_state_prefetch/renderer/prerender_observer.h"
#include "content/public/renderer/render_frame.h"

namespace prerender {

namespace {

// Key used to attach the handler to the RenderFrame.
const char kPrerenderObserverListKey[] =;

}  // namespace

// static
void PrerenderObserverList::AddObserverForFrame(
    content::RenderFrame* render_frame,
    PrerenderObserver* observer) {}

// static
void PrerenderObserverList::RemoveObserverForFrame(
    content::RenderFrame* render_frame,
    PrerenderObserver* observer) {}

// static
void PrerenderObserverList::SetIsPrerenderingForFrame(
    content::RenderFrame* render_frame,
    bool is_prerendering) {}

PrerenderObserverList::PrerenderObserverList() = default;
PrerenderObserverList::~PrerenderObserverList() = default;

void PrerenderObserverList::AddObserver(PrerenderObserver* observer) {}

bool PrerenderObserverList::RemoveObserver(PrerenderObserver* observer) {}

void PrerenderObserverList::SetIsPrerendering(bool is_prerendering) {}

}  // namespace prerender