Index: content/browser/tab_contents/test_tab_contents.h |
=================================================================== |
--- content/browser/tab_contents/test_tab_contents.h (revision 113024) |
+++ content/browser/tab_contents/test_tab_contents.h (working copy) |
@@ -7,7 +7,6 @@ |
#pragma once |
#include "content/browser/tab_contents/tab_contents.h" |
-#include "content/public/common/page_transition_types.h" |
#include "webkit/glue/webpreferences.h" |
class TestRenderViewHost; |
@@ -31,15 +30,11 @@ |
// alternatives without using command-line switches. |
bool ShouldTransitionCrossSite() { return transition_cross_site; } |
+ // Promote DidNavigate to public. |
void TestDidNavigate(RenderViewHost* render_view_host, |
- int page_id, |
- const GURL& url, |
- content::PageTransition transition); |
- void TestDidNavigateWithReferrer(RenderViewHost* render_view_host, |
- int page_id, |
- const GURL& url, |
- const content::Referrer& referrer, |
- content::PageTransition transition); |
+ const ViewHostMsg_FrameNavigate_Params& params) { |
+ DidNavigate(render_view_host, params); |
+ } |
// Promote GetWebkitPrefs to public. |
WebPreferences TestGetWebkitPrefs() { |