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

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, 4 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..e7d4c83675a75463761b8abeedf78d089468e482 100644
--- a/content/browser/loader/navigation_url_loader_unittest.cc
+++ b/content/browser/loader/navigation_url_loader_unittest.cc
@@ -179,7 +179,8 @@ 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_LOCATION);
clamy 2015/08/31 12:09:27 nit: I would again initialize the context type to
Fabrice (no longer in Chrome) 2015/08/31 14:00:35 Done.
CommonNavigationParams common_params;
common_params.url = url;
scoped_ptr<NavigationRequestInfo> request_info(

Powered by Google App Engine
This is Rietveld 408576698