

#ifndef PrerendererClient_h
#define PrerendererClient_h

#include "platform/Supplementable.h"

namespace blink {

class Document;
class Page;
class Prerender;

class PrerendererClient : public WillBeHeapSupplement<Page> {
public:
    virtual void willAddPrerender(Prerender*) = 0;

    static const char* supplementName();
    static PrerendererClient* from(Page*);

protected:
    PrerendererClient() { }
};

void providePrerendererClientTo(Page&, PrerendererClient*);

} // namespace blink

#endif // PrerendererClient_h
