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

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: clean up comments 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..dad04d59906d46a374f3c277ef86154a0e0e6739 100644
--- a/content/public/test/render_view_test.cc
+++ b/content/public/test/render_view_test.cc
@@ -517,7 +517,7 @@ void RenderViewTest::Reload(const GURL& url) {
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);
+ PREVIEWS_UNSPECIFIED, 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(), 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