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

Side by Side Diff: net/quic/test_tools/fake_proof_source.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, 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 unified diff | Download patch
« no previous file with comments | « net/quic/test_tools/crypto_test_utils_test.cc ('k') | net/quic/test_tools/fake_proof_source.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 (c) 2016 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2016 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_TEST_TOOLS_FAKE_PROOF_SOURCE_H_ 5 #ifndef NET_QUIC_TEST_TOOLS_FAKE_PROOF_SOURCE_H_
6 #define NET_QUIC_TEST_TOOLS_FAKE_PROOF_SOURCE_H_ 6 #define NET_QUIC_TEST_TOOLS_FAKE_PROOF_SOURCE_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 19 matching lines...) Expand all
30 void Activate(); 30 void Activate();
31 31
32 // ProofSource interface 32 // ProofSource interface
33 bool GetProof(const IPAddress& server_ip, 33 bool GetProof(const IPAddress& server_ip,
34 const std::string& hostname, 34 const std::string& hostname,
35 const std::string& server_config, 35 const std::string& server_config,
36 QuicVersion quic_version, 36 QuicVersion quic_version,
37 base::StringPiece chlo_hash, 37 base::StringPiece chlo_hash,
38 const QuicTagVector& connection_options, 38 const QuicTagVector& connection_options,
39 scoped_refptr<ProofSource::Chain>* out_chain, 39 scoped_refptr<ProofSource::Chain>* out_chain,
40 std::string* out_signature, 40 QuicCryptoProof* out_proof) override;
41 std::string* out_leaf_cert_sct) override;
42 void GetProof(const IPAddress& server_ip, 41 void GetProof(const IPAddress& server_ip,
43 const std::string& hostname, 42 const std::string& hostname,
44 const std::string& server_config, 43 const std::string& server_config,
45 QuicVersion quic_version, 44 QuicVersion quic_version,
46 base::StringPiece chlo_hash, 45 base::StringPiece chlo_hash,
47 const QuicTagVector& connection_options, 46 const QuicTagVector& connection_options,
48 std::unique_ptr<ProofSource::Callback> callback) override; 47 std::unique_ptr<ProofSource::Callback> callback) override;
49 48
50 // Get the number of callbacks which are pending 49 // Get the number of callbacks which are pending
51 int NumPendingCallbacks() const; 50 int NumPendingCallbacks() const;
(...skipping 27 matching lines...) Expand all
79 std::unique_ptr<ProofSource::Callback> callback; 78 std::unique_ptr<ProofSource::Callback> callback;
80 }; 79 };
81 80
82 std::vector<Params> params_; 81 std::vector<Params> params_;
83 }; 82 };
84 83
85 } // namespace test 84 } // namespace test
86 } // namespace net 85 } // namespace net
87 86
88 #endif // NET_QUIC_TEST_TOOLS_FAKE_PROOF_SOURCE_H_ 87 #endif // NET_QUIC_TEST_TOOLS_FAKE_PROOF_SOURCE_H_
OLDNEW
« no previous file with comments | « net/quic/test_tools/crypto_test_utils_test.cc ('k') | net/quic/test_tools/fake_proof_source.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698