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

Unified Diff: chrome/browser/chromeos/offline/offline_load_page_unittest.cc

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
« no previous file with comments | « no previous file | chrome/browser/safe_browsing/browser_feature_extractor_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/offline/offline_load_page_unittest.cc
===================================================================
--- chrome/browser/chromeos/offline/offline_load_page_unittest.cc (revision 113025)
+++ chrome/browser/chromeos/offline/offline_load_page_unittest.cc (working copy)
@@ -8,7 +8,6 @@
#include "chrome/test/base/chrome_render_view_host_test_harness.h"
#include "content/browser/tab_contents/navigation_entry.h"
#include "content/browser/tab_contents/test_tab_contents.h"
-#include "content/common/view_messages.h"
#include "content/test/test_browser_thread.h"
using content::BrowserThread;
@@ -75,10 +74,9 @@
}
void Navigate(const char* url, int page_id) {
- ViewHostMsg_FrameNavigate_Params params;
- InitNavigateParams(
- &params, page_id, GURL(url), content::PAGE_TRANSITION_TYPED);
- contents()->TestDidNavigate(contents()->render_view_host(), params);
+ contents()->TestDidNavigate(
+ contents()->render_view_host(), page_id, GURL(url),
+ content::PAGE_TRANSITION_TYPED);
}
void ShowInterstitial(const char* url) {
« no previous file with comments | « no previous file | chrome/browser/safe_browsing/browser_feature_extractor_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698