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

Unified Diff: net/quic/crypto/proof_source_chromium.h

Issue 2125063003: Add async variant of ProofSource::GetProof (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@126463885
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_source_chromium.h
diff --git a/net/quic/crypto/proof_source_chromium.h b/net/quic/crypto/proof_source_chromium.h
index f84746ee0cf48b64b22b61a209f95832b1f74a95..904bd0dd7d8ff0271d560e4579fa0cfccef927c8 100644
--- a/net/quic/crypto/proof_source_chromium.h
+++ b/net/quic/crypto/proof_source_chromium.h
@@ -43,6 +43,14 @@ class NET_EXPORT_PRIVATE ProofSourceChromium : public ProofSource {
std::string* out_signature,
std::string* out_leaf_cert_sct) override;
+ void GetProof(const IPAddress& server_ip,
+ const std::string& hostname,
+ const std::string& server_config,
+ QuicVersion quic_version,
+ base::StringPiece chlo_hash,
+ bool ecdsa_ok,
+ std::unique_ptr<Callback> callback) override;
+
private:
std::unique_ptr<crypto::RSAPrivateKey> private_key_;
scoped_refptr<ProofSource::Chain> chain_;

Powered by Google App Engine
This is Rietveld 408576698