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

Unified Diff: net/quic/quartc/quartc_session.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
« no previous file with comments | « net/quic/platform/impl/quic_reference_counted_impl.h ('k') | net/quic/quartc/quartc_session_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quartc/quartc_session.cc
diff --git a/net/quic/quartc/quartc_session.cc b/net/quic/quartc/quartc_session.cc
index 5f9ca3497b6a1e39369b8db881441fc3eabd5626..e31f72bb0dfafce1216e0fe4104a55dc55781057 100644
--- a/net/quic/quartc/quartc_session.cc
+++ b/net/quic/quartc/quartc_session.cc
@@ -28,14 +28,15 @@ class DummyProofSource : public net::ProofSource {
~DummyProofSource() override {}
// ProofSource override.
- bool GetProof(const net::QuicSocketAddress& server_addr,
- const std::string& hostname,
- const std::string& server_config,
- net::QuicVersion quic_version,
- base::StringPiece chlo_hash,
- const net::QuicTagVector& connection_options,
- scoped_refptr<net::ProofSource::Chain>* out_chain,
- net::QuicCryptoProof* proof) override {
+ bool GetProof(
+ const net::QuicSocketAddress& server_addr,
+ const std::string& hostname,
+ const std::string& server_config,
+ net::QuicVersion quic_version,
+ base::StringPiece chlo_hash,
+ const net::QuicTagVector& connection_options,
+ net::QuicReferenceCountedPointer<net::ProofSource::Chain>* out_chain,
+ net::QuicCryptoProof* proof) override {
std::vector<std::string> certs;
certs.push_back("Dummy cert");
*out_chain = new ProofSource::Chain(certs);
« no previous file with comments | « net/quic/platform/impl/quic_reference_counted_impl.h ('k') | net/quic/quartc/quartc_session_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698