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

Unified Diff: content/browser/loader/navigation_url_loader_network_service.h

Issue 2817033002: Plumb the net::SSLInfo to the browser process when it's using the network service. (Closed)
Patch Set: add net::SSLInfo test 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/browser/loader/navigation_url_loader_network_service.h
diff --git a/content/browser/loader/navigation_url_loader_network_service.h b/content/browser/loader/navigation_url_loader_network_service.h
index 25c46e7acb8154c4514bab700822decab6e50deb..af7f43225c7518db204dbc15ac41ccdcacffb14f 100644
--- a/content/browser/loader/navigation_url_loader_network_service.h
+++ b/content/browser/loader/navigation_url_loader_network_service.h
@@ -9,6 +9,7 @@
#include "content/browser/loader/navigation_url_loader.h"
#include "content/common/url_loader.mojom.h"
#include "content/common/url_loader_factory.mojom.h"
+#include "content/public/browser/ssl_status.h"
#include "mojo/public/cpp/bindings/binding.h"
#include "services/service_manager/public/cpp/connector.h"
@@ -42,6 +43,7 @@ class NavigationURLLoaderNetworkService : public NavigationURLLoader,
// mojom::URLLoaderClient implementation:
void OnReceiveResponse(const ResourceResponseHead& head,
+ const base::Optional<net::SSLInfo>& ssl_info,
mojom::DownloadedTempFilePtr downloaded_file) override;
void OnReceiveRedirect(const net::RedirectInfo& redirect_info,
const ResourceResponseHead& head) override;
@@ -67,6 +69,7 @@ class NavigationURLLoaderNetworkService : public NavigationURLLoader,
mojo::Binding<mojom::URLLoaderClient> binding_;
mojom::URLLoaderAssociatedPtr url_loader_associated_ptr_;
scoped_refptr<ResourceResponse> response_;
+ SSLStatus ssl_status_;
DISALLOW_COPY_AND_ASSIGN(NavigationURLLoaderNetworkService);
};

Powered by Google App Engine
This is Rietveld 408576698