Index: content/browser/renderer_host/test_render_view_host.h |
diff --git a/content/browser/renderer_host/test_render_view_host.h b/content/browser/renderer_host/test_render_view_host.h |
index d04a2a7514b9a6826e2a96b1a58e74bdba5d910d..f3b97b6dcf42da029ed8db60ca7bfb4545e80515 100644 |
--- a/content/browser/renderer_host/test_render_view_host.h |
+++ b/content/browser/renderer_host/test_render_view_host.h |
@@ -236,6 +236,20 @@ class TestRenderViewHost |
virtual void SimulateWasHidden() OVERRIDE; |
virtual void SimulateWasShown() OVERRIDE; |
+ // Calls OnMsgNavigate on the RenderViewHost with the given information, |
+ // including a custom original request URL. Sets the rest of the |
+ // parameters in the message to the "typical" values. This is a helper |
+ // function for simulating the most common types of loads. |
+ void SendNavigateWithOriginalRequestURL( |
+ int page_id, const GURL& url, const GURL& original_request_url); |
+ |
+ // Calls OnMsgNavigate on the RenderViewHost with the given information. |
+ // Sets the rest of the parameters in the message to the "typical" values. |
+ // This is a helper function for simulating the most common types of loads. |
+ void SendNavigateWithParameters( |
+ int page_id, const GURL& url, PageTransition transition, |
+ const GURL& original_request_url); |
+ |
void TestOnMsgStartDragging(const WebDropData& drop_data); |
// If set, *delete_counter is incremented when this object destructs. |