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

Side by Side Diff: net/quic/chromium/crypto/proof_source_chromium.h

Issue 2516033003: Landing Recent QUIC changes until Mon Nov 14 04:43:50 2016 +0000 (Closed)
Patch Set: Remove unused UpdatePacketGapSentHistogram() function. 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 unified diff | Download patch
« no previous file with comments | « net/net.gypi ('k') | net/quic/chromium/crypto/proof_source_chromium.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NET_QUIC_CRYPTO_PROOF_SOURCE_CHROMIUM_H_ 5 #ifndef NET_QUIC_CRYPTO_PROOF_SOURCE_CHROMIUM_H_
6 #define NET_QUIC_CRYPTO_PROOF_SOURCE_CHROMIUM_H_ 6 #define NET_QUIC_CRYPTO_PROOF_SOURCE_CHROMIUM_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 22 matching lines...) Expand all
33 const base::FilePath& sct_path); 33 const base::FilePath& sct_path);
34 34
35 // ProofSource interface 35 // ProofSource interface
36 bool GetProof(const IPAddress& server_ip, 36 bool GetProof(const IPAddress& server_ip,
37 const std::string& hostname, 37 const std::string& hostname,
38 const std::string& server_config, 38 const std::string& server_config,
39 QuicVersion quic_version, 39 QuicVersion quic_version,
40 base::StringPiece chlo_hash, 40 base::StringPiece chlo_hash,
41 const QuicTagVector& connection_options, 41 const QuicTagVector& connection_options,
42 scoped_refptr<ProofSource::Chain>* out_chain, 42 scoped_refptr<ProofSource::Chain>* out_chain,
43 std::string* out_signature, 43 QuicCryptoProof* proof) override;
44 std::string* out_leaf_cert_sct) override;
45 44
46 void GetProof(const IPAddress& server_ip, 45 void GetProof(const IPAddress& server_ip,
47 const std::string& hostname, 46 const std::string& hostname,
48 const std::string& server_config, 47 const std::string& server_config,
49 QuicVersion quic_version, 48 QuicVersion quic_version,
50 base::StringPiece chlo_hash, 49 base::StringPiece chlo_hash,
51 const QuicTagVector& connection_options, 50 const QuicTagVector& connection_options,
52 std::unique_ptr<Callback> callback) override; 51 std::unique_ptr<Callback> callback) override;
53 52
54 private: 53 private:
55 std::unique_ptr<crypto::RSAPrivateKey> private_key_; 54 std::unique_ptr<crypto::RSAPrivateKey> private_key_;
56 scoped_refptr<ProofSource::Chain> chain_; 55 scoped_refptr<ProofSource::Chain> chain_;
57 std::string signed_certificate_timestamp_; 56 std::string signed_certificate_timestamp_;
58 57
59 DISALLOW_COPY_AND_ASSIGN(ProofSourceChromium); 58 DISALLOW_COPY_AND_ASSIGN(ProofSourceChromium);
60 }; 59 };
61 60
62 } // namespace net 61 } // namespace net
63 62
64 #endif // NET_QUIC_CRYPTO_PROOF_SOURCE_CHROMIUM_H_ 63 #endif // NET_QUIC_CRYPTO_PROOF_SOURCE_CHROMIUM_H_
OLDNEW
« no previous file with comments | « net/net.gypi ('k') | net/quic/chromium/crypto/proof_source_chromium.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698