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

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

Issue 2335133003: PlzNavigate: support the WebRequest API (Closed)
Patch Set: Added missing comment Created 4 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/resource_dispatcher_host_unittest.cc
diff --git a/content/browser/loader/resource_dispatcher_host_unittest.cc b/content/browser/loader/resource_dispatcher_host_unittest.cc
index 5b036a81fe5380ad0352c0183dcbf49c9e55abad..dfb4a2264db4d29c4ac466a9c739120c78499069 100644
--- a/content/browser/loader/resource_dispatcher_host_unittest.cc
+++ b/content/browser/loader/resource_dispatcher_host_unittest.cc
@@ -1097,7 +1097,7 @@ class ResourceDispatcherHostTest : public testing::TestWithParam<TestConfig>,
url::Origin(url), true, false, -1));
std::unique_ptr<NavigationURLLoader> test_loader =
NavigationURLLoader::Create(browser_context_.get(),
- std::move(request_info), nullptr,
+ std::move(request_info), nullptr, nullptr,
&delegate);
// The navigation should fail with the expected error code.
@@ -2579,7 +2579,8 @@ TEST_P(ResourceDispatcherHostTest, CancelRequestsForContext) {
new NavigationRequestInfo(common_params, begin_params, download_url,
url::Origin(download_url), true, false, -1));
std::unique_ptr<NavigationURLLoader> loader = NavigationURLLoader::Create(
- browser_context_.get(), std::move(request_info), nullptr, &delegate);
+ browser_context_.get(), std::move(request_info), nullptr, nullptr,
+ &delegate);
// Wait until a response has been received and proceed with the response.
KickOffRequest();

Powered by Google App Engine
This is Rietveld 408576698