OLD | NEW |
(Empty) | |
| 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. |
| 4 |
| 5 #ifndef CHROME_RENDERER_PRERENDER_PRERENDERING_PLATFORM_H_ |
| 6 #define CHROME_RENDERER_PRERENDER_PRERENDERING_PLATFORM_H_ |
| 7 #pragma once |
| 8 |
| 9 #include "base/compiler_specific.h" |
| 10 #include "third_party/WebKit/Source/Platform/chromium/public/WebPrerenderingPlat
form.h" |
| 11 |
| 12 namespace prerender { |
| 13 |
| 14 class PrerenderingPlatform : public WebKit::WebPrerenderingPlatform { |
| 15 public: |
| 16 virtual ~PrerenderingPlatform(); |
| 17 |
| 18 virtual void add(const WebKit::WebPrerender& prerender) OVERRIDE; |
| 19 virtual void cancel(const WebKit::WebPrerender& prerender) OVERRIDE; |
| 20 virtual void abandon(const WebKit::WebPrerender& prerender) OVERRIDE; |
| 21 }; |
| 22 |
| 23 } // namespace prerender |
| 24 |
| 25 #endif // CHROME_RENDERER_PRERENDER_PRERENDERING_PLATFORM_H_ |
| 26 |
OLD | NEW |