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

Unified Diff: net/http/transport_security_state.h

Issue 2604513002: Optimize CT & OCSP handling code (Closed)
Patch Set: Actually optimize for OCSP Created 4 years 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/http/transport_security_state.h
diff --git a/net/http/transport_security_state.h b/net/http/transport_security_state.h
index fc40b7d1413f36e3f97bb58c4b3fe0dc7409b559..c020ec17f0ff434208486b61268b9f72ef06c4ea 100644
--- a/net/http/transport_security_state.h
+++ b/net/http/transport_security_state.h
@@ -322,7 +322,7 @@ class NET_EXPORT TransportSecurityState
// for OCSP responses behind MITM proxies are not useful to site owners.
void CheckExpectStaple(const HostPortPair& host_port_pair,
const SSLInfo& ssl_info,
- const std::string& ocsp_response);
+ base::StringPiece ocsp_response);
// Returns true if connections to |host|, using the validated certificate
// |validated_certificate_chain|, are expected to be accompanied with

Powered by Google App Engine
This is Rietveld 408576698