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

Unified Diff: net/quic/core/crypto/quic_crypto_client_config.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
Index: net/quic/core/crypto/quic_crypto_client_config.h
diff --git a/net/quic/core/crypto/quic_crypto_client_config.h b/net/quic/core/crypto/quic_crypto_client_config.h
index cfc4892be44dd8118ab2dc6d32ee797e0101f88c..c20ea1fea1cc3f06e372ed9261dec4d89ee17f67 100644
--- a/net/quic/core/crypto/quic_crypto_client_config.h
+++ b/net/quic/core/crypto/quic_crypto_client_config.h
@@ -19,6 +19,7 @@
#include "net/quic/core/quic_packets.h"
#include "net/quic/core/quic_server_id.h"
#include "net/quic/platform/api/quic_export.h"
+#include "net/quic/platform/api/quic_reference_counted.h"
namespace net {
@@ -232,7 +233,7 @@ class QUIC_EXPORT_PRIVATE QuicCryptoClientConfig : public QuicCryptoConfig {
const CachedState* cached,
QuicRandom* rand,
bool demand_x509_proof,
- scoped_refptr<QuicCryptoNegotiatedParameters> out_params,
+ QuicReferenceCountedPointer<QuicCryptoNegotiatedParameters> out_params,
CryptoHandshakeMessage* out) const;
// FillClientHello sets |out| to be a CHLO message based on the configuration
@@ -257,7 +258,7 @@ class QUIC_EXPORT_PRIVATE QuicCryptoClientConfig : public QuicCryptoConfig {
QuicWallTime now,
QuicRandom* rand,
const ChannelIDKey* channel_id_key,
- scoped_refptr<QuicCryptoNegotiatedParameters> out_params,
+ QuicReferenceCountedPointer<QuicCryptoNegotiatedParameters> out_params,
CryptoHandshakeMessage* out,
std::string* error_details) const;
@@ -273,7 +274,7 @@ class QUIC_EXPORT_PRIVATE QuicCryptoClientConfig : public QuicCryptoConfig {
QuicVersion version,
base::StringPiece chlo_hash,
CachedState* cached,
- scoped_refptr<QuicCryptoNegotiatedParameters> out_params,
+ QuicReferenceCountedPointer<QuicCryptoNegotiatedParameters> out_params,
std::string* error_details);
// ProcessServerHello processes the message in |server_hello|, updates the
@@ -291,7 +292,7 @@ class QUIC_EXPORT_PRIVATE QuicCryptoClientConfig : public QuicCryptoConfig {
QuicVersion version,
const QuicVersionVector& negotiated_versions,
CachedState* cached,
- scoped_refptr<QuicCryptoNegotiatedParameters> out_params,
+ QuicReferenceCountedPointer<QuicCryptoNegotiatedParameters> out_params,
std::string* error_details);
// Processes the message in |server_update|, updating the cached source
@@ -305,7 +306,7 @@ class QUIC_EXPORT_PRIVATE QuicCryptoClientConfig : public QuicCryptoConfig {
const QuicVersion version,
base::StringPiece chlo_hash,
CachedState* cached,
- scoped_refptr<QuicCryptoNegotiatedParameters> out_params,
+ QuicReferenceCountedPointer<QuicCryptoNegotiatedParameters> out_params,
std::string* error_details);
ProofVerifier* proof_verifier() const;
« no previous file with comments | « net/quic/core/crypto/quic_compressed_certs_cache_test.cc ('k') | net/quic/core/crypto/quic_crypto_client_config.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698