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

Unified Diff: content/browser/loader/test_url_loader_client.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
« no previous file with comments | « content/browser/loader/resource_message_filter.cc ('k') | content/browser/loader/test_url_loader_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/loader/test_url_loader_client.h
diff --git a/content/browser/loader/test_url_loader_client.h b/content/browser/loader/test_url_loader_client.h
index 336a42e7cc657bd4e63efae6f529ac81c6f1fde9..94084a08d8ee709789fd09bdc9bab76f934c57f9 100644
--- a/content/browser/loader/test_url_loader_client.h
+++ b/content/browser/loader/test_url_loader_client.h
@@ -30,6 +30,7 @@ class TestURLLoaderClient final : public mojom::URLLoaderClient {
~TestURLLoaderClient() override;
void OnReceiveResponse(const ResourceResponseHead& response_head,
+ const base::Optional<net::SSLInfo>& ssl_info,
mojom::DownloadedTempFilePtr downloaded_file) override;
void OnReceiveRedirect(const net::RedirectInfo& redirect_info,
const ResourceResponseHead& response_head) override;
@@ -54,6 +55,7 @@ class TestURLLoaderClient final : public mojom::URLLoaderClient {
}
bool has_received_completion() const { return has_received_completion_; }
const ResourceResponseHead& response_head() const { return response_head_; }
+ const base::Optional<net::SSLInfo>& ssl_info() const { return ssl_info_; }
const net::RedirectInfo& redirect_info() const { return redirect_info_; }
const std::string& cached_metadata() const {
return cached_metadata_;
@@ -90,6 +92,7 @@ class TestURLLoaderClient final : public mojom::URLLoaderClient {
private:
mojo::Binding<mojom::URLLoaderClient> binding_;
ResourceResponseHead response_head_;
+ base::Optional<net::SSLInfo> ssl_info_;
net::RedirectInfo redirect_info_;
std::string cached_metadata_;
mojo::ScopedDataPipeConsumerHandle response_body_;
« no previous file with comments | « content/browser/loader/resource_message_filter.cc ('k') | content/browser/loader/test_url_loader_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698