Index: content/public/test/test_renderer_host.h |
diff --git a/content/public/test/test_renderer_host.h b/content/public/test/test_renderer_host.h |
index 9e7d70e21b8d5f43236aea657b0f46dd6e517a04..afa67ed709deb7e004bf9e19dd6c2ab14bb6a6d6 100644 |
--- a/content/public/test/test_renderer_host.h |
+++ b/content/public/test/test_renderer_host.h |
@@ -87,6 +87,20 @@ class RenderViewHostTester { |
virtual void SendNavigateWithTransition(int page_id, const GURL& url, |
PageTransition transition) = 0; |
+ // 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. |
+ virtual void SendNavigateWithOriginalRequestURL( |
jam
2012/07/03 05:50:12
nit: only add methods to the public class if they'
gone
2012/07/03 18:24:39
Moved over
|
+ int page_id, const GURL& url, const GURL& original_request_url) = 0; |
+ |
+ // 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. |
+ virtual void SendNavigateWithParameters( |
+ int page_id, const GURL& url, PageTransition transition, |
+ const GURL& original_request_url) = 0; |
+ |
// Calls OnMsgShouldCloseACK on the RenderViewHost with the given parameter. |
virtual void SendShouldCloseACK(bool proceed) = 0; |