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

Unified Diff: net/quic/core/crypto/quic_crypto_client_config.cc

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.cc
diff --git a/net/quic/core/crypto/quic_crypto_client_config.cc b/net/quic/core/crypto/quic_crypto_client_config.cc
index 1fd4bd159b4896bd0ce5242e7a1719a70ddfe2d9..31c003ac68a0ea65363b4473324ad3ac762e2b29 100644
--- a/net/quic/core/crypto/quic_crypto_client_config.cc
+++ b/net/quic/core/crypto/quic_crypto_client_config.cc
@@ -418,7 +418,7 @@ void QuicCryptoClientConfig::FillInchoateClientHello(
const CachedState* cached,
QuicRandom* rand,
bool demand_x509_proof,
- scoped_refptr<QuicCryptoNegotiatedParameters> out_params,
+ QuicReferenceCountedPointer<QuicCryptoNegotiatedParameters> out_params,
CryptoHandshakeMessage* out) const {
out->set_tag(kCHLO);
// TODO(rch): Remove this when we remove:
@@ -491,7 +491,7 @@ QuicErrorCode QuicCryptoClientConfig::FillClientHello(
QuicWallTime now,
QuicRandom* rand,
const ChannelIDKey* channel_id_key,
- scoped_refptr<QuicCryptoNegotiatedParameters> out_params,
+ QuicReferenceCountedPointer<QuicCryptoNegotiatedParameters> out_params,
CryptoHandshakeMessage* out,
string* error_details) const {
DCHECK(error_details != nullptr);
@@ -785,7 +785,7 @@ QuicErrorCode QuicCryptoClientConfig::ProcessRejection(
const QuicVersion version,
StringPiece chlo_hash,
CachedState* cached,
- scoped_refptr<QuicCryptoNegotiatedParameters> out_params,
+ QuicReferenceCountedPointer<QuicCryptoNegotiatedParameters> out_params,
string* error_details) {
DCHECK(error_details != nullptr);
@@ -828,7 +828,7 @@ QuicErrorCode QuicCryptoClientConfig::ProcessServerHello(
QuicVersion version,
const QuicVersionVector& negotiated_versions,
CachedState* cached,
- scoped_refptr<QuicCryptoNegotiatedParameters> out_params,
+ QuicReferenceCountedPointer<QuicCryptoNegotiatedParameters> out_params,
string* error_details) {
DCHECK(error_details != nullptr);
@@ -891,7 +891,7 @@ QuicErrorCode QuicCryptoClientConfig::ProcessServerConfigUpdate(
const QuicVersion version,
StringPiece chlo_hash,
CachedState* cached,
- scoped_refptr<QuicCryptoNegotiatedParameters> out_params,
+ QuicReferenceCountedPointer<QuicCryptoNegotiatedParameters> out_params,
string* error_details) {
DCHECK(error_details != nullptr);
« no previous file with comments | « net/quic/core/crypto/quic_crypto_client_config.h ('k') | net/quic/core/crypto/quic_crypto_client_config_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698