Index: net/quic/core/quic_crypto_server_stream.h |
diff --git a/net/quic/core/quic_crypto_server_stream.h b/net/quic/core/quic_crypto_server_stream.h |
index 6b9da72772e090e396e45fbc9ec30bb6e4867a3d..1a1b44c751281d1a0c3a03fcb7ad9b6ff80c4b28 100644 |
--- a/net/quic/core/quic_crypto_server_stream.h |
+++ b/net/quic/core/quic_crypto_server_stream.h |
@@ -125,7 +125,7 @@ class NET_EXPORT_PRIVATE QuicCryptoServerStream |
protected: |
virtual QuicErrorCode ProcessClientHello( |
- const ValidateClientHelloResultCallback::Result& result, |
+ scoped_refptr<ValidateClientHelloResultCallback::Result> result, |
std::unique_ptr<ProofSource::Details> proof_source_details, |
CryptoHandshakeMessage* reply, |
DiversificationNonce* out_diversification_nonce, |
@@ -146,7 +146,7 @@ class NET_EXPORT_PRIVATE QuicCryptoServerStream |
void Cancel(); |
// From ValidateClientHelloResultCallback |
- void Run(std::unique_ptr<Result> result, |
+ void Run(scoped_refptr<Result> result, |
std::unique_ptr<ProofSource::Details> details) override; |
private: |
@@ -177,7 +177,7 @@ class NET_EXPORT_PRIVATE QuicCryptoServerStream |
// the client hello is complete. Finishes processing of the client |
// hello message and handles handshake success/failure. |
void FinishProcessingHandshakeMessage( |
- const ValidateClientHelloResultCallback::Result& result, |
+ scoped_refptr<ValidateClientHelloResultCallback::Result> result, |
std::unique_ptr<ProofSource::Details> details); |
// Invoked by SendServerConfigUpdateCallback::RunImpl once the proof has been |