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

Unified Diff: net/socket/ssl_client_socket_impl.h

Issue 2040513003: Implement Expect-Staple (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move OCSP into cert_verify_proc Created 4 years, 6 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: net/socket/ssl_client_socket_impl.h
diff --git a/net/socket/ssl_client_socket_impl.h b/net/socket/ssl_client_socket_impl.h
index 97fa2929d50d880c857b46bcc5da5043686b64e6..3e5f9d5bb5d7367f63f70076c1d1c92c47e0a6a3 100644
--- a/net/socket/ssl_client_socket_impl.h
+++ b/net/socket/ssl_client_socket_impl.h
@@ -134,7 +134,7 @@ class SSLClientSocketImpl : public SSLClientSocket {
void DoConnectCallback(int result);
void UpdateServerCert();
void VerifyCT();
-
+ void ReportOCSP();
Ryan Sleevi 2016/06/23 22:11:52 I'd like to avoid adding a dedicated state here; i
void OnHandshakeIOComplete(int result);
void OnSendComplete(int result);
void OnRecvComplete(int result);
@@ -373,6 +373,8 @@ class SSLClientSocketImpl : public SSLClientSocket {
// True if PKP is bypassed due to a local trust anchor.
bool pkp_bypassed_;
+ std::string ocsp_response_;
+
BoundNetLog net_log_;
base::WeakPtrFactory<SSLClientSocketImpl> weak_factory_;
};

Powered by Google App Engine
This is Rietveld 408576698