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

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

Issue 2776523005: Plumbing devtools agent host id and request id between processes (Closed)
Patch Set: Rebased Created 3 years, 8 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
« no previous file with comments | « content/browser/loader/resource_dispatcher_host_impl.cc ('k') | content/child/web_url_loader_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 10598c3eb1f21c93cbd4b718787c7e1d53eec6c2..92a34e4f7fbe271e3900e0a9980b57e565935aa6 100644
--- a/content/browser/loader/resource_dispatcher_host_unittest.cc
+++ b/content/browser/loader/resource_dispatcher_host_unittest.cc
@@ -1069,9 +1069,9 @@ class ResourceDispatcherHostTest : public testing::Test, public IPC::Sender {
CommonNavigationParams common_params;
common_params.url = url;
std::unique_ptr<NavigationRequestInfo> request_info(
- new NavigationRequestInfo(common_params, begin_params, url, true,
- false, false, -1, false, false,
- blink::kWebPageVisibilityStateVisible));
+ new NavigationRequestInfo(
+ common_params, begin_params, url, true, false, false, -1, false,
+ false, blink::kWebPageVisibilityStateVisible, "", 0));
std::unique_ptr<NavigationURLLoader> test_loader =
NavigationURLLoader::Create(
browser_context_->GetResourceContext(),
@@ -2587,9 +2587,9 @@ TEST_F(ResourceDispatcherHostTest, CancelRequestsForContext) {
CommonNavigationParams common_params;
common_params.url = download_url;
std::unique_ptr<NavigationRequestInfo> request_info(
- new NavigationRequestInfo(common_params, begin_params, download_url,
- true, false, false, -1, false, false,
- blink::kWebPageVisibilityStateVisible));
+ new NavigationRequestInfo(
+ common_params, begin_params, download_url, true, false, false, -1,
+ false, false, blink::kWebPageVisibilityStateVisible, "", 0));
std::unique_ptr<NavigationURLLoader> loader = NavigationURLLoader::Create(
browser_context_->GetResourceContext(),
BrowserContext::GetDefaultStoragePartition(browser_context_.get()),
« no previous file with comments | « content/browser/loader/resource_dispatcher_host_impl.cc ('k') | content/child/web_url_loader_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698