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

Unified Diff: net/quic/test_tools/quic_crypto_server_config_peer.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/test_tools/fake_proof_source.cc ('k') | net/quic/test_tools/quic_crypto_server_config_peer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/test_tools/quic_crypto_server_config_peer.h
diff --git a/net/quic/test_tools/quic_crypto_server_config_peer.h b/net/quic/test_tools/quic_crypto_server_config_peer.h
index 8c799a0e75aaa0cb5f432cb1fc297be4181fb5fc..1f522d356c1df4683f2dcf2168e44a2591cbaa6c 100644
--- a/net/quic/test_tools/quic_crypto_server_config_peer.h
+++ b/net/quic/test_tools/quic_crypto_server_config_peer.h
@@ -21,10 +21,11 @@ class QuicCryptoServerConfigPeer {
ProofSource* GetProofSource();
// Returns the primary config.
- scoped_refptr<QuicCryptoServerConfig::Config> GetPrimaryConfig();
+ QuicReferenceCountedPointer<QuicCryptoServerConfig::Config>
+ GetPrimaryConfig();
// Returns the config associated with |config_id|.
- scoped_refptr<QuicCryptoServerConfig::Config> GetConfig(
+ QuicReferenceCountedPointer<QuicCryptoServerConfig::Config> GetConfig(
std::string config_id);
// Returns a pointer to the ProofSource object.
@@ -82,7 +83,7 @@ class QuicCryptoServerConfigPeer {
static std::string CompressChain(
QuicCompressedCertsCache* compressed_certs_cache,
- const scoped_refptr<ProofSource::Chain>& chain,
+ const QuicReferenceCountedPointer<ProofSource::Chain>& chain,
const std::string& client_common_set_hashes,
const std::string& client_cached_cert_hashes,
const CommonCertSets* common_sets);
« no previous file with comments | « net/quic/test_tools/fake_proof_source.cc ('k') | net/quic/test_tools/quic_crypto_server_config_peer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698