Index: chrome/renderer/prerender/prerendering_platform.h |
diff --git a/chrome/renderer/prerender/prerendering_platform.h b/chrome/renderer/prerender/prerendering_platform.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..d5e1cd9fc90a37036e5b008dd296bb174097e50b |
--- /dev/null |
+++ b/chrome/renderer/prerender/prerendering_platform.h |
@@ -0,0 +1,28 @@ |
+// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef CHROME_RENDERER_PRERENDER_PRERENDERING_PLATFORM_H_ |
+#define CHROME_RENDERER_PRERENDER_PRERENDERING_PLATFORM_H_ |
+#pragma once |
+ |
+#include "base/compiler_specific.h" |
+#include "third_party/WebKit/Source/Platform/chromium/public/WebPrerenderingPlatform.h" |
+ |
+namespace WebKit { |
+class WebPrerender; |
+} |
+ |
+namespace prerender { |
+ |
+class PrerenderingPlatform : public WebKit::WebPrerenderingPlatform { |
+ public: |
+ virtual ~PrerenderingPlatform() { } |
+ |
+ virtual void add(const WebKit::WebPrerender& prerender) OVERRIDE; |
+ virtual void cancel(const WebKit::WebPrerender& prerender) OVERRIDE; |
+ virtual void abandon(const WebKit::WebPrerender& prerender) OVERRIDE; |
+}; |
+ |
+} |
+#endif // CHROME_RENDERER_PRERENDER_PRERENDERING_PLATFORM_H_ |