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

Unified Diff: content/test/test_web_contents.cc

Issue 1121083004: Revert of Classify navigations without page id in parallel to the existing classifier. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 months 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 | « content/test/test_web_contents.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/test_web_contents.cc
diff --git a/content/test/test_web_contents.cc b/content/test/test_web_contents.cc
index 28c39801e8b8156197ccb2e036b1ee0a4bdf8aa9..9032fc4ee3463fd3bb4d8b19fc865a05124ab186 100644
--- a/content/test/test_web_contents.cc
+++ b/content/test/test_web_contents.cc
@@ -67,14 +67,10 @@
void TestWebContents::TestDidNavigate(RenderFrameHost* render_frame_host,
int page_id,
- int nav_entry_id,
- bool did_create_new_entry,
const GURL& url,
ui::PageTransition transition) {
TestDidNavigateWithReferrer(render_frame_host,
page_id,
- nav_entry_id,
- did_create_new_entry,
url,
Referrer(),
transition);
@@ -83,15 +79,12 @@
void TestWebContents::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) {
FrameHostMsg_DidCommitProvisionalLoad_Params params;
params.page_id = page_id;
- params.nav_entry_id = nav_entry_id;
params.url = url;
params.referrer = referrer;
params.transition = transition;
@@ -99,7 +92,6 @@
params.should_update_history = false;
params.searchable_form_url = GURL();
params.searchable_form_encoding = std::string();
- params.did_create_new_entry = did_create_new_entry;
params.security_info = std::string();
params.gesture = NavigationGestureUser;
params.was_within_same_page = false;
@@ -190,9 +182,7 @@
page_id = GetMaxPageIDForSiteInstance(rfh->GetSiteInstance()) + 1;
}
- rfh->SendNavigate(page_id, entry->GetUniqueID(),
- GetController().GetPendingEntryIndex() == -1,
- entry->GetURL());
+ rfh->SendNavigate(page_id, entry->GetURL());
// Simulate the SwapOut_ACK. This is needed when cross-site navigation
// happens.
if (old_rfh != rfh)
« no previous file with comments | « content/test/test_web_contents.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698