| Index: content/shell/renderer/test_runner/web_test_delegate.h
|
| diff --git a/content/shell/renderer/test_runner/web_test_delegate.h b/content/shell/renderer/test_runner/web_test_delegate.h
|
| index 7a88a6a2829fa9a368c07bde8911c4437bab00c4..3a6e56f9a9743d5205a6cfbf9fd60ba294794e01 100644
|
| --- a/content/shell/renderer/test_runner/web_test_delegate.h
|
| +++ b/content/shell/renderer/test_runner/web_test_delegate.h
|
| @@ -7,6 +7,7 @@
|
|
|
| #include <string>
|
|
|
| +#include "base/callback_forward.h"
|
| #include "base/memory/ref_counted.h"
|
| #include "third_party/WebKit/public/platform/WebScreenOrientationType.h"
|
| #include "third_party/WebKit/public/platform/WebString.h"
|
| @@ -24,6 +25,8 @@ class WebGamepad;
|
| class WebGamepads;
|
| class WebHistoryItem;
|
| class WebLayer;
|
| +class WebURLResponse;
|
| +class WebView;
|
| struct WebRect;
|
| struct WebSize;
|
| struct WebURLError;
|
| @@ -201,6 +204,13 @@ class WebTestDelegate {
|
| // with the given WebTestProxyBase.
|
| virtual std::string DumpHistoryForWindow(WebTestProxyBase* proxy) = 0;
|
|
|
| + // Fetch the manifest for a given WebView from the given url.
|
| + virtual void FetchManifest(
|
| + blink::WebView* view,
|
| + const GURL& url,
|
| + const base::Callback<void(const blink::WebURLResponse& response,
|
| + const std::string& data)>& callback) = 0;
|
| +
|
| // Sends a message to the LayoutTestPermissionManager in order for it to
|
| // update its database.
|
| virtual void SetPermission(const std::string& permission_name,
|
|
|