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

Side by Side Diff: net/quic/crypto/proof_source.h

Issue 20227003: Land Recent QUIC changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Land Recent QUIC changes Created 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « net/quic/crypto/crypto_server_config.cc ('k') | net/quic/crypto/proof_source_chromium.h » ('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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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_H_ 5 #ifndef NET_QUIC_CRYPTO_PROOF_SOURCE_H_
6 #define NET_QUIC_CRYPTO_PROOF_SOURCE_H_ 6 #define NET_QUIC_CRYPTO_PROOF_SOURCE_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 26 matching lines...) Expand all
37 // somewhat static. However, since they aren't bounded, the ProofSource may 37 // somewhat static. However, since they aren't bounded, the ProofSource may
38 // wish to evicit entries from that cache, thus the caller takes ownership of 38 // wish to evicit entries from that cache, thus the caller takes ownership of
39 // |*out_signature|. 39 // |*out_signature|.
40 // 40 //
41 // |hostname| may be empty to signify that a default certificate should be 41 // |hostname| may be empty to signify that a default certificate should be
42 // used. 42 // used.
43 // 43 //
44 // This function may be called concurrently. 44 // This function may be called concurrently.
45 virtual bool GetProof(const std::string& hostname, 45 virtual bool GetProof(const std::string& hostname,
46 const std::string& server_config, 46 const std::string& server_config,
47 bool ecdsa_ok,
47 const std::vector<std::string>** out_certs, 48 const std::vector<std::string>** out_certs,
48 std::string* out_signature) = 0; 49 std::string* out_signature) = 0;
49 }; 50 };
50 51
51 } // namespace net 52 } // namespace net
52 53
53 #endif // NET_QUIC_CRYPTO_PROOF_SOURCE_H_ 54 #endif // NET_QUIC_CRYPTO_PROOF_SOURCE_H_
OLDNEW
« no previous file with comments | « net/quic/crypto/crypto_server_config.cc ('k') | net/quic/crypto/proof_source_chromium.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698