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

Unified Diff: net/quic/core/crypto/crypto_handshake.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/chromium/quic_chromium_client_stream_test.cc ('k') | net/quic/core/crypto/crypto_server_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/crypto/crypto_handshake.h
diff --git a/net/quic/core/crypto/crypto_handshake.h b/net/quic/core/crypto/crypto_handshake.h
index 9606fe4b51e514d088e64b4ac463dd8577e11896..c985e5bb0d893a638b9b067c4a867ab3a6d778a0 100644
--- a/net/quic/core/crypto/crypto_handshake.h
+++ b/net/quic/core/crypto/crypto_handshake.h
@@ -100,7 +100,7 @@ struct QUIC_EXPORT_PRIVATE CrypterPair {
// Parameters negotiated by the crypto handshake.
struct QUIC_EXPORT_PRIVATE QuicCryptoNegotiatedParameters
- : public base::RefCounted<QuicCryptoNegotiatedParameters> {
+ : public QuicReferenceCounted {
// Initializes the members to 0 or empty values.
QuicCryptoNegotiatedParameters();
@@ -150,9 +150,8 @@ struct QUIC_EXPORT_PRIVATE QuicCryptoNegotiatedParameters
// by sending CSCT tag with an empty value in client hello.
bool sct_supported_by_client;
- private:
- friend class base::RefCounted<QuicCryptoNegotiatedParameters>;
- virtual ~QuicCryptoNegotiatedParameters();
+ protected:
+ ~QuicCryptoNegotiatedParameters() override;
};
// QuicCryptoConfig contains common configuration between clients and servers.
« no previous file with comments | « net/quic/chromium/quic_chromium_client_stream_test.cc ('k') | net/quic/core/crypto/crypto_server_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698