Index: content/public/test/layouttest_support.h |
diff --git a/content/public/test/layouttest_support.h b/content/public/test/layouttest_support.h |
index 70676ea7af31fdabf68382bb00c27d18b5270722..f155a8c0cdc92c0a4f99099cf9c6229f717847c6 100644 |
--- a/content/public/test/layouttest_support.h |
+++ b/content/public/test/layouttest_support.h |
@@ -12,6 +12,8 @@ |
#include "cc/layers/texture_layer.h" |
#include "third_party/WebKit/public/platform/WebScreenOrientationType.h" |
+class GURL; |
+ |
namespace blink { |
class WebBatteryStatus; |
class WebDeviceMotionData; |
@@ -20,6 +22,8 @@ class WebGamepad; |
class WebGamepads; |
class WebLayer; |
struct WebSize; |
+class WebView; |
+class WebURLResponse; |
} |
namespace content { |
@@ -45,6 +49,11 @@ void EnableRendererLayoutTestMode(); |
void EnableWebTestProxyCreation( |
const base::Callback<void(RenderView*, WebTestProxyBase*)>& callback); |
+typedef base::Callback<void(const blink::WebURLResponse& response, |
+ const std::string& data)> FetchManifestCallback; |
+void FetchManifest(blink::WebView* view, const GURL& url, |
+ const FetchManifestCallback&); |
+ |
// Sets gamepad provider to be used for layout tests. |
void SetMockGamepadProvider(scoped_ptr<RendererGamepadProvider> provider); |