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

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

Issue 8801003: Make TestTabContents::TestDidNavigate not take a ViewHostMsg_FrameNavigate_Params, since that's a... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Remove the accidental commenting out that I had done before last commit 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 113025)
+++ content/browser/tab_contents/test_tab_contents.h (working copy)
@@ -7,6 +7,7 @@
#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;
@@ -30,11 +31,15 @@
// alternatives without using command-line switches.
bool ShouldTransitionCrossSite() { return transition_cross_site; }
- // Promote DidNavigate to public.
void TestDidNavigate(RenderViewHost* render_view_host,
- const ViewHostMsg_FrameNavigate_Params& params) {
- DidNavigate(render_view_host, params);
- }
+ 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);
// 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