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

Unified Diff: net/quic/core/quic_crypto_server_stream.h

Issue 2589983002: Create a QUIC wrapper around scoped_refptr. (Closed)
Patch Set: rm = nullptr 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
« no previous file with comments | « net/quic/core/quic_connection_test.cc ('k') | net/quic/core/quic_crypto_server_stream.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 ecb0a04294a46f8d7cdc494567dadfbf3a74864c..721a2763a22c52a8093e4cbdf5a6c9a3799e24ea 100644
--- a/net/quic/core/quic_crypto_server_stream.h
+++ b/net/quic/core/quic_crypto_server_stream.h
@@ -129,7 +129,8 @@ class QUIC_EXPORT_PRIVATE QuicCryptoServerStream
protected:
virtual void ProcessClientHello(
- scoped_refptr<ValidateClientHelloResultCallback::Result> result,
+ QuicReferenceCountedPointer<ValidateClientHelloResultCallback::Result>
+ result,
std::unique_ptr<ProofSource::Details> proof_source_details,
std::unique_ptr<ProcessClientHelloResultCallback> done_cb);
@@ -148,7 +149,7 @@ class QUIC_EXPORT_PRIVATE QuicCryptoServerStream
void Cancel();
// From ValidateClientHelloResultCallback
- void Run(scoped_refptr<Result> result,
+ void Run(QuicReferenceCountedPointer<Result> result,
std::unique_ptr<ProofSource::Details> details) override;
private:
@@ -179,7 +180,8 @@ class QUIC_EXPORT_PRIVATE QuicCryptoServerStream
// the client hello is complete. Finishes processing of the client
// hello message and handles handshake success/failure.
void FinishProcessingHandshakeMessage(
- scoped_refptr<ValidateClientHelloResultCallback::Result> result,
+ QuicReferenceCountedPointer<ValidateClientHelloResultCallback::Result>
+ result,
std::unique_ptr<ProofSource::Details> details);
class ProcessClientHelloCallback;
@@ -215,7 +217,7 @@ class QUIC_EXPORT_PRIVATE QuicCryptoServerStream
// Server's certificate chain and signature of the server config, as provided
// by ProofSource::GetProof.
- scoped_refptr<QuicSignedServerConfig> signed_config_;
+ QuicReferenceCountedPointer<QuicSignedServerConfig> signed_config_;
// Hash of the last received CHLO message which can be used for generating
// server config update messages.
« no previous file with comments | « net/quic/core/quic_connection_test.cc ('k') | net/quic/core/quic_crypto_server_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698