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

Unified Diff: content/child/resource_dispatcher.cc

Issue 2817033002: Plumb the net::SSLInfo to the browser process when it's using the network service. (Closed)
Patch Set: review comments 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
Index: content/child/resource_dispatcher.cc
diff --git a/content/child/resource_dispatcher.cc b/content/child/resource_dispatcher.cc
index 4484df9e30a3236d7084774c30afbec7d6cbf2cb..6141fadee4e99b41d8b24ec74d22ee4f53670ef1 100644
--- a/content/child/resource_dispatcher.cc
+++ b/content/child/resource_dispatcher.cc
@@ -659,8 +659,9 @@ int ResourceDispatcher::StartAsync(
mojom::URLLoaderClientPtr client_ptr;
client->Bind(&client_ptr);
url_loader_factory->CreateLoaderAndStart(MakeRequest(&url_loader),
- routing_id, request_id, *request,
- std::move(client_ptr));
+ routing_id, request_id,
+ mojom::kURLLoadOptionNone,
+ *request, std::move(client_ptr));
pending_requests_[request_id]->url_loader = std::move(url_loader);
pending_requests_[request_id]->url_loader_client = std::move(client);
} else {
@@ -765,6 +766,7 @@ void ResourceDispatcher::ContinueForNavigation(
// pull the StreamOverride's one in
// WebURLLoaderImpl::Context::OnReceivedResponse.
client_ptr->OnReceiveResponse(ResourceResponseHead(),
+ base::Optional<net::SSLInfo>(),
mojom::DownloadedTempFilePtr());
// Start streaming now.
client_ptr->OnStartLoadingResponseBody(std::move(consumer_handle));

Powered by Google App Engine
This is Rietveld 408576698