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

Unified Diff: net/tools/quic/stateless_rejector.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/tools/quic/quic_simple_server_stream_test.cc ('k') | net/tools/quic/stateless_rejector.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/stateless_rejector.h
diff --git a/net/tools/quic/stateless_rejector.h b/net/tools/quic/stateless_rejector.h
index a3876d7b922ad52efdf528c3df65a17116717a9f..f1771629d04132d83127432b30336c5627e40c4d 100644
--- a/net/tools/quic/stateless_rejector.h
+++ b/net/tools/quic/stateless_rejector.h
@@ -79,7 +79,8 @@ class StatelessRejector {
friend class ProcessClientHelloCallback;
void ProcessClientHello(
- scoped_refptr<ValidateClientHelloResultCallback::Result> result,
+ QuicReferenceCountedPointer<ValidateClientHelloResultCallback::Result>
+ result,
std::unique_ptr<StatelessRejector> rejector,
std::unique_ptr<StatelessRejector::ProcessDoneCallback> done_cb);
@@ -107,8 +108,8 @@ class StatelessRejector {
CryptoHandshakeMessage chlo_;
std::unique_ptr<CryptoHandshakeMessage> reply_;
CryptoFramer crypto_framer_;
- scoped_refptr<QuicSignedServerConfig> signed_config_;
- scoped_refptr<QuicCryptoNegotiatedParameters> params_;
+ QuicReferenceCountedPointer<QuicSignedServerConfig> signed_config_;
+ QuicReferenceCountedPointer<QuicCryptoNegotiatedParameters> params_;
DISALLOW_COPY_AND_ASSIGN(StatelessRejector);
};
« no previous file with comments | « net/tools/quic/quic_simple_server_stream_test.cc ('k') | net/tools/quic/stateless_rejector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698