#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 {
const char kPrerenderObserverListKey[] = …;
}
void PrerenderObserverList::AddObserverForFrame(
content::RenderFrame* render_frame,
PrerenderObserver* observer) { … }
void PrerenderObserverList::RemoveObserverForFrame(
content::RenderFrame* render_frame,
PrerenderObserver* observer) { … }
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) { … }
}