summaryrefslogtreecommitdiff
path: root/Source/WebKit/chromium/tests/FrameTestHelpers.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit/chromium/tests/FrameTestHelpers.h')
-rw-r--r--Source/WebKit/chromium/tests/FrameTestHelpers.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/WebKit/chromium/tests/FrameTestHelpers.h b/Source/WebKit/chromium/tests/FrameTestHelpers.h
index 290acfe13..fc2fa2d36 100644
--- a/Source/WebKit/chromium/tests/FrameTestHelpers.h
+++ b/Source/WebKit/chromium/tests/FrameTestHelpers.h
@@ -33,6 +33,8 @@
#include <string>
+class GURL;
+
namespace WebKit {
class WebFrame;
@@ -43,6 +45,8 @@ class WebViewClient;
namespace FrameTestHelpers {
void registerMockedURLLoad(const std::string& base, const std::string& fileName);
+// Like the previous overload, but it allows more flexibility in the url since it is given by the caller.
+void registerMockedURLLoad(GURL, const std::string& fileName);
void loadFrame(WebFrame*, const std::string& url);