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

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

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
« 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 113024)
+++ chrome/browser/chromeos/offline/offline_load_page_unittest.cc (working copy)
@@ -8,6 +8,7 @@
#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;
@@ -74,9 +75,10 @@
}
void Navigate(const char* url, int page_id) {
- contents()->TestDidNavigate(
- contents()->render_view_host(), page_id, GURL(url),
- content::PAGE_TRANSITION_TYPED);
+ ViewHostMsg_FrameNavigate_Params params;
+ InitNavigateParams(
+ &params, page_id, GURL(url), content::PAGE_TRANSITION_TYPED);
+ contents()->TestDidNavigate(contents()->render_view_host(), params);
}
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