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

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: add tests 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..c6b112b903ab53bfb10076314d57752d10cff551 100644
--- a/content/child/resource_dispatcher.cc
+++ b/content/child/resource_dispatcher.cc
@@ -659,8 +659,8 @@ 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, 0,
+ *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 +765,7 @@ void ResourceDispatcher::ContinueForNavigation(
// pull the StreamOverride's one in
// WebURLLoaderImpl::Context::OnReceivedResponse.
client_ptr->OnReceiveResponse(ResourceResponseHead(),
+ base::Optional<net::SSLInfo>(),
dcheng 2017/04/13 21:12:15 Ditto with base::nullopt, here and elsewhere
jam 2017/04/13 23:04:22 Done.
mojom::DownloadedTempFilePtr());
// Start streaming now.
client_ptr->OnStartLoadingResponseBody(std::move(consumer_handle));

Powered by Google App Engine
This is Rietveld 408576698