Index: content/public/test/web_contents_tester.h |
diff --git a/content/public/test/web_contents_tester.h b/content/public/test/web_contents_tester.h |
index 77ef2cc6e9b063fde5fa3ce7973acb5fe60bb147..a96d86deeb1064e3acb56c54bca1956320a2b773 100644 |
--- a/content/public/test/web_contents_tester.h |
+++ b/content/public/test/web_contents_tester.h |
@@ -78,28 +78,17 @@ |
// Does nothing if no cross-navigation is pending. |
virtual void ProceedWithCrossSiteNavigation() = 0; |
- // Simulates a navigation with the given information. |
- // |
- // Guidance for calling these: |
- // - nav_entry_id should be 0 if simulating a renderer-initiated navigation; |
- // if simulating a browser-initiated one, pass the GetUniqueID() value of |
- // the NavigationController's PendingEntry. |
- // - did_create_new_entry should be true if simulating a navigation that |
- // created a new navigation entry; false for history navigations, reloads, |
- // and other navigations that don't affect the history list. |
virtual void TestDidNavigate(RenderFrameHost* render_frame_host, |
int page_id, |
- int nav_entry_id, |
- bool did_create_new_entry, |
const GURL& url, |
ui::PageTransition transition) = 0; |
- virtual void TestDidNavigateWithReferrer(RenderFrameHost* render_frame_host, |
- int page_id, |
- int nav_entry_id, |
- bool did_create_new_entry, |
- const GURL& url, |
- const Referrer& referrer, |
- ui::PageTransition transition) = 0; |
+ |
+ virtual void TestDidNavigateWithReferrer( |
+ RenderFrameHost* render_frame_host, |
+ int page_id, |
+ const GURL& url, |
+ const Referrer& referrer, |
+ ui::PageTransition transition) = 0; |
}; |
} // namespace content |