1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_RENDERER_PRERENDER_PRERENDERER_CLIENT_H_
6 #define CHROME_RENDERER_PRERENDER_PRERENDERER_CLIENT_H_
8 #include "base/compiler_specific.h"
9 #include "content/public/renderer/render_view_observer.h"
10 #include "third_party/WebKit/public/web/WebPrerendererClient.h"
14 class PrerendererClient
: public content::RenderViewObserver
,
15 public blink::WebPrerendererClient
{
17 explicit PrerendererClient(content::RenderView
* render_view
);
20 ~PrerendererClient() override
;
22 // Implements blink::WebPrerendererClient
23 void willAddPrerender(blink::WebPrerender
* prerender
) override
;
26 } // namespace prerender
28 #endif // CHROME_RENDERER_PRERENDER_PRERENDERER_CLIENT_H_