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

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

Issue 2484633004: Change Lo-Fi bool to bitmask to support multiple Previews types (Closed)
Patch Set: add back previews_unspecified Created 4 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/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 146ebf6f3cc0bcd7bb130551938dfe1f14804370..50ae40e84559f8cff63e2c6a1a6e4ad60af97de4 100644
--- a/content/public/test/render_view_test.cc
+++ b/content/public/test/render_view_test.cc
@@ -516,8 +516,8 @@ void RenderViewTest::Reload(const GURL& url) {
CommonNavigationParams common_params(
url, Referrer(), ui::PAGE_TRANSITION_LINK, FrameMsg_Navigate_Type::RELOAD,
NavigationGestureAuto, true, false, base::TimeTicks(),
- FrameMsg_UILoadMetricsReportType::NO_REPORT, GURL(), GURL(),
- LOFI_UNSPECIFIED, base::TimeTicks::Now(), "GET", nullptr);
+ FrameMsg_UILoadMetricsReportType::NO_REPORT, GURL(), GURL(), 0,
nasko 2016/12/08 22:19:33 PREVIEWS_UNSPECIFIED
megjablon 2016/12/09 20:35:55 Done.
+ base::TimeTicks::Now(), "GET", nullptr);
RenderViewImpl* impl = static_cast<RenderViewImpl*>(view_);
TestRenderFrame* frame =
static_cast<TestRenderFrame*>(impl->GetMainRenderFrame());
@@ -652,7 +652,7 @@ void RenderViewTest::GoToOffset(int offset,
url, Referrer(), ui::PAGE_TRANSITION_FORWARD_BACK,
FrameMsg_Navigate_Type::NORMAL, NavigationGestureAuto, true, false,
base::TimeTicks(), FrameMsg_UILoadMetricsReportType::NO_REPORT, GURL(),
- GURL(), LOFI_UNSPECIFIED, base::TimeTicks::Now(), "GET", nullptr);
+ GURL(), 0, base::TimeTicks::Now(), "GET", nullptr);
nasko 2016/12/08 22:19:33 PREVIEWS_UNSPECIFIED
megjablon 2016/12/09 20:35:55 Done.
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