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

Unified Diff: content/browser/loader/navigation_url_loader_unittest.cc

Issue 2572453002: [PlzNavigate] Wire page visibility info to navigation requests (Closed)
Patch Set: 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/browser/loader/navigation_url_loader_unittest.cc
diff --git a/content/browser/loader/navigation_url_loader_unittest.cc b/content/browser/loader/navigation_url_loader_unittest.cc
index 0447b14f3544a780bfa22978853bfd69e5cf7492..c195aa940a3459cef1c022febff44c0bb29a8c26 100644
--- a/content/browser/loader/navigation_url_loader_unittest.cc
+++ b/content/browser/loader/navigation_url_loader_unittest.cc
@@ -111,9 +111,9 @@ class NavigationURLLoaderTest : public testing::Test {
CommonNavigationParams common_params;
common_params.url = url;
std::unique_ptr<NavigationRequestInfo> request_info(
- new NavigationRequestInfo(common_params, begin_params, url,
- url::Origin(url), true, false, false, -1,
- false, false));
+ new NavigationRequestInfo(
+ common_params, begin_params, url, url::Origin(url), true, false,
+ false, -1, false, false, blink::WebPageVisibilityStateVisible));
return NavigationURLLoader::Create(browser_context_.get(),
std::move(request_info), nullptr,
« no previous file with comments | « content/browser/frame_host/navigation_request_info.cc ('k') | content/browser/loader/resource_dispatcher_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698