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

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

Issue 1294243004: PlzNavigate: Make ServiceWorker work with PlzNavigate. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 3 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/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 1cefb9b3ffabc4c1a058d3d72ad5f65118ab1065..9432bce9ad2e71a11c5b19d3abf1f039a2d5d183 100644
--- a/content/browser/loader/navigation_url_loader_unittest.cc
+++ b/content/browser/loader/navigation_url_loader_unittest.cc
@@ -179,12 +179,15 @@ class NavigationURLLoaderTest : public testing::Test {
const GURL& url,
NavigationURLLoaderDelegate* delegate) {
BeginNavigationParams begin_params(
- "GET", std::string(), net::LOAD_NORMAL, false);
+ "GET", std::string(), net::LOAD_NORMAL, false, false,
+ REQUEST_CONTEXT_TYPE_HYPERLINK);
CommonNavigationParams common_params;
common_params.url = url;
+ RequestNavigationParams request_params;
scoped_ptr<NavigationRequestInfo> request_info(
- new NavigationRequestInfo(common_params, begin_params, url, true, false,
- -1, scoped_refptr<ResourceRequestBody>()));
+ new NavigationRequestInfo(
+ common_params, begin_params, request_params, url, true, false, -1,
+ scoped_refptr<ResourceRequestBody>()));
return NavigationURLLoader::Create(
browser_context_.get(), 0, request_info.Pass(), delegate);

Powered by Google App Engine
This is Rietveld 408576698