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

Unified Diff: net/quic/crypto/proof_test.cc

Issue 2126023002: use std::unique_ptr for the callback argument of QUIC's ProofVerifier::Verify proof to make ownersh… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@126327823
Patch Set: Created 4 years, 5 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/crypto/proof_test.cc
diff --git a/net/quic/crypto/proof_test.cc b/net/quic/crypto/proof_test.cc
index 697674cfccbc489455c91ac0a9b7f8d74887bb4c..5392a635d60e709d1ccbe3d6cd7ff25cfe50212f 100644
--- a/net/quic/crypto/proof_test.cc
+++ b/net/quic/crypto/proof_test.cc
@@ -72,7 +72,8 @@ void RunVerification(ProofVerifier* verifier,
QuicAsyncStatus status = verifier->VerifyProof(
hostname, port, server_config, quic_version, chlo_hash, certs, "", proof,
- verify_context.get(), &error_details, &details, callback);
+ verify_context.get(), &error_details, &details,
+ std::unique_ptr<ProofVerifierCallback>());
switch (status) {
case QUIC_FAILURE:

Powered by Google App Engine
This is Rietveld 408576698