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

Unified Diff: net/quic/test_tools/crypto_test_utils_chromium.cc

Issue 1290243007: Shift URLRequestContextStorage over to taking scoped_ptrs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Paul_BuilderGrab
Patch Set: Lots of fixes driven by try jobs. Created 5 years, 4 months 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/test_tools/crypto_test_utils_chromium.cc
diff --git a/net/quic/test_tools/crypto_test_utils_chromium.cc b/net/quic/test_tools/crypto_test_utils_chromium.cc
index f1d60f069a9a02ee4c37c89946a136dc2aa0e2c3..6cbbe600812ce263497662be45e6cd1c132dff1e 100644
--- a/net/quic/test_tools/crypto_test_utils_chromium.cc
+++ b/net/quic/test_tools/crypto_test_utils_chromium.cc
@@ -23,11 +23,13 @@ namespace {
class TestProofVerifierChromium : public ProofVerifierChromium {
public:
- TestProofVerifierChromium(CertVerifier* cert_verifier,
+ TestProofVerifierChromium(scoped_ptr<CertVerifier> cert_verifier,
TransportSecurityState* transport_security_state,
pauljensen 2015/08/28 13:38:02 would be nice to make this a scoped_ptr
Randy Smith (Not in Mondays) 2015/09/02 23:42:19 Done.
const std::string& cert_file)
- : ProofVerifierChromium(cert_verifier, nullptr, transport_security_state),
- cert_verifier_(cert_verifier),
+ : ProofVerifierChromium(cert_verifier.get(),
+ nullptr,
+ transport_security_state),
+ cert_verifier_(cert_verifier.Pass()),
transport_security_state_(transport_security_state) {
// Load and install the root for the validated chain.
scoped_refptr<X509Certificate> root_cert =

Powered by Google App Engine
This is Rietveld 408576698