| Index: net/http/transport_security_state.cc
|
| diff --git a/net/http/transport_security_state.cc b/net/http/transport_security_state.cc
|
| index 9b42febf5f177481b33b5406d88215da1e24b325..32872bb57ca8c63e8ef437a2101123be4490ad19 100644
|
| --- a/net/http/transport_security_state.cc
|
| +++ b/net/http/transport_security_state.cc
|
| @@ -682,7 +682,7 @@ std::string SerializeExpectStapleRevocationStatus(
|
|
|
| bool SerializeExpectStapleReport(const HostPortPair& host_port_pair,
|
| const SSLInfo& ssl_info,
|
| - const std::string& ocsp_response,
|
| + base::StringPiece ocsp_response,
|
| std::string* out_serialized_report) {
|
| DCHECK(ssl_info.is_issued_by_known_root);
|
| base::DictionaryValue report;
|
| @@ -789,7 +789,7 @@ TransportSecurityState::PKPStatus TransportSecurityState::CheckPublicKeyPins(
|
| void TransportSecurityState::CheckExpectStaple(
|
| const HostPortPair& host_port_pair,
|
| const SSLInfo& ssl_info,
|
| - const std::string& ocsp_response) {
|
| + base::StringPiece ocsp_response) {
|
| DCHECK(CalledOnValidThread());
|
| if (!enable_static_expect_staple_ || !report_sender_ ||
|
| !ssl_info.is_issued_by_known_root) {
|
|
|