Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(551)

Unified Diff: content/shell/renderer/test_runner/web_test_delegate.h

Issue 1145463002: Plumb manifest fetching through WebTestDelegate interface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/shell/renderer/test_runner/test_runner.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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,
« no previous file with comments | « content/shell/renderer/test_runner/test_runner.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698