| Index: net/http/transport_security_state.cc
|
| diff --git a/net/http/transport_security_state.cc b/net/http/transport_security_state.cc
|
| index ce16cca9a1517baf1e3dab049ba4f3a8a924acd6..5f82c2897b51ec403963e9da6674c389f38aff73 100644
|
| --- a/net/http/transport_security_state.cc
|
| +++ b/net/http/transport_security_state.cc
|
| @@ -687,7 +687,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;
|
| @@ -794,7 +794,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) {
|
|
|