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

Unified Diff: net/quic/core/crypto/proof_source.h

Issue 2511643002: Refactoring output of ProofSource::GetProof (no functional changes). (Closed)
Patch Set: Refactoring output of ProofSource::GetProof (no functional changes). Created 4 years, 1 month 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/core/crypto/crypto_server_test.cc ('k') | net/quic/core/crypto/quic_crypto_proof.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/crypto/proof_source.h
diff --git a/net/quic/core/crypto/proof_source.h b/net/quic/core/crypto/proof_source.h
index 281da105496385af117446f401ec91107faeb38d..db321970ac7676a575efa9265ff2f74bd9cff694 100644
--- a/net/quic/core/crypto/proof_source.h
+++ b/net/quic/core/crypto/proof_source.h
@@ -11,6 +11,7 @@
#include "base/memory/ref_counted.h"
#include "net/base/net_export.h"
+#include "net/quic/core/crypto/quic_crypto_proof.h"
#include "net/quic/core/quic_protocol.h"
namespace net {
@@ -66,8 +67,7 @@ class NET_EXPORT_PRIVATE ProofSource {
// available, this will be nullptr.
virtual void Run(bool ok,
const scoped_refptr<Chain>& chain,
- const std::string& signature,
- const std::string& leaf_cert_sct,
+ const QuicCryptoProof& proof,
std::unique_ptr<Details> details) = 0;
private:
@@ -111,8 +111,7 @@ class NET_EXPORT_PRIVATE ProofSource {
base::StringPiece chlo_hash,
const QuicTagVector& connection_options,
scoped_refptr<Chain>* out_chain,
- std::string* out_signature,
- std::string* out_leaf_cert_sct) = 0;
+ QuicCryptoProof* proof) = 0;
// Async version of GetProof with identical semantics, except that the results
// are delivered to |callback|. Callers should expect that |callback| might
« no previous file with comments | « net/quic/core/crypto/crypto_server_test.cc ('k') | net/quic/core/crypto/quic_crypto_proof.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698