Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(755)

Unified Diff: content/browser/tab_contents/test_tab_contents.h

Issue 8799015: Revert 113006 - Make TestTabContents::TestDidNavigate not take a ViewHostMsg_FrameNavigate_Params... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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() {
« no previous file with comments | « content/browser/tab_contents/render_view_host_manager_unittest.cc ('k') | content/browser/tab_contents/test_tab_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698