summaryrefslogtreecommitdiffstats
path: root/webkit/tools/test_shell/layout_test_controller.h
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/tools/test_shell/layout_test_controller.h')
-rw-r--r--webkit/tools/test_shell/layout_test_controller.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/webkit/tools/test_shell/layout_test_controller.h b/webkit/tools/test_shell/layout_test_controller.h
index d35356a..151e6fe 100644
--- a/webkit/tools/test_shell/layout_test_controller.h
+++ b/webkit/tools/test_shell/layout_test_controller.h
@@ -113,6 +113,10 @@ class LayoutTestController : public CppBoundClass {
// Delays completion of the test until the policy delegate runs.
void waitForPolicyDelegate(const CppArgumentList& args, CppVariant* result);
+ // Causes WillSendRequest to block redirects.
+ void setWillSendRequestReturnsNullOnRedirect(const CppArgumentList& args,
+ CppVariant* result);
+
// Converts a URL starting with file:///tmp/ to the local mapping.
void pathToLocalResource(const CppArgumentList& args, CppVariant* result);