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

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

Issue 2335133003: PlzNavigate: support the WebRequest API (Closed)
Patch Set: Rebase + addressed nit 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 72f6a0af9444d42f047eaf25fde348e98c2fd3fa..91f332d045833acb60c0fd21cd67c60c739ff092 100644
--- a/content/browser/loader/resource_dispatcher_host_unittest.cc
+++ b/content/browser/loader/resource_dispatcher_host_unittest.cc
@@ -1082,7 +1082,7 @@ class ResourceDispatcherHostTest : public testing::TestWithParam<TestConfig>,
url::Origin(url), true, false, 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.
@@ -2569,7 +2569,8 @@ TEST_P(ResourceDispatcherHostTest, CancelRequestsForContext) {
url::Origin(download_url), true, false, 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();
« no previous file with comments | « content/browser/loader/resource_dispatcher_host_impl.cc ('k') | content/browser/loader/resource_request_info_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698