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

Unified Diff: net/cert/ct_objects_extractor.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/cert/ct_objects_extractor.h
diff --git a/net/cert/ct_objects_extractor.h b/net/cert/ct_objects_extractor.h
index d8fc5f95e52f245e109c300b71ad11ef8e6593d5..d5deb5b607e3fbbbfa7c67d550e221d8967ae971 100644
--- a/net/cert/ct_objects_extractor.h
+++ b/net/cert/ct_objects_extractor.h
@@ -7,6 +7,7 @@
#include <string>
+#include "base/strings/string_piece.h"
#include "net/base/net_export.h"
#include "net/cert/x509_certificate.h"
@@ -54,7 +55,7 @@ NET_EXPORT_PRIVATE bool GetX509LogEntry(X509Certificate::OSCertHandle leaf,
NET_EXPORT_PRIVATE bool ExtractSCTListFromOCSPResponse(
X509Certificate::OSCertHandle issuer,
const std::string& cert_serial_number,
- const std::string& ocsp_response,
+ base::StringPiece ocsp_response,
std::string* sct_list);
} // namespace ct

Powered by Google App Engine
This is Rietveld 408576698