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

Unified Diff: content/public/test/render_view_test.cc

Issue 2584513003: PlzNavigate: identify same-page browser-initiated navigation. (Closed)
Patch Set: Allow renderer-initiated reloads. Created 3 years, 11 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
Index: content/public/test/render_view_test.cc
diff --git a/content/public/test/render_view_test.cc b/content/public/test/render_view_test.cc
index 83679237b013c7f7cb66c427ecc43aa6f2f4a0cd..fa28b68591c8a487673616baacab4b5b2d00edad 100644
--- a/content/public/test/render_view_test.cc
+++ b/content/public/test/render_view_test.cc
@@ -659,9 +659,9 @@ void RenderViewTest::GoToOffset(int offset,
CommonNavigationParams common_params(
url, Referrer(), ui::PAGE_TRANSITION_FORWARD_BACK,
- FrameMsg_Navigate_Type::NORMAL, true, false, base::TimeTicks(),
- FrameMsg_UILoadMetricsReportType::NO_REPORT, GURL(), GURL(),
- PREVIEWS_UNSPECIFIED, base::TimeTicks::Now(), "GET", nullptr);
+ FrameMsg_Navigate_Type::HISTORY_DIFFERENT_DOCUMENT, true, false,
+ base::TimeTicks(), FrameMsg_UILoadMetricsReportType::NO_REPORT, GURL(),
+ GURL(), PREVIEWS_UNSPECIFIED, base::TimeTicks::Now(), "GET", nullptr);
RequestNavigationParams request_params;
request_params.page_state = state;
request_params.nav_entry_id = pending_offset + 1;

Powered by Google App Engine
This is Rietveld 408576698