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

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

Issue 196403002: Move QuicServerInfo management from CachedState to the QuicStreamFactory (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix crash Created 6 years, 9 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 | « no previous file | net/quic/crypto/quic_crypto_client_config.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_VERIFIER_H_ 5 #ifndef NET_QUIC_CRYPTO_PROOF_VERIFIER_H_
6 #define NET_QUIC_CRYPTO_PROOF_VERIFIER_H_ 6 #define NET_QUIC_CRYPTO_PROOF_VERIFIER_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "net/base/completion_callback.h" 11 #include "net/base/completion_callback.h"
12 #include "net/base/net_export.h" 12 #include "net/base/net_export.h"
13 13
14 namespace net { 14 namespace net {
15 15
16 // ProofVerifyDetails is an abstract class that acts as a container for any 16 // ProofVerifyDetails is an abstract class that acts as a container for any
17 // implementation specific details that a ProofVerifier wishes to return. These 17 // implementation specific details that a ProofVerifier wishes to return. These
18 // details are saved in the CachedInfo for the origin in question. 18 // details are saved in the CachedState for the origin in question.
19 class NET_EXPORT_PRIVATE ProofVerifyDetails { 19 class NET_EXPORT_PRIVATE ProofVerifyDetails {
20 public: 20 public:
21 virtual ~ProofVerifyDetails() {} 21 virtual ~ProofVerifyDetails() {}
22 }; 22 };
23 23
24 // ProofVerifierCallback provides a generic mechanism for a ProofVerifier to 24 // ProofVerifierCallback provides a generic mechanism for a ProofVerifier to
25 // call back after an asynchronous verification. 25 // call back after an asynchronous verification.
26 class NET_EXPORT_PRIVATE ProofVerifierCallback { 26 class NET_EXPORT_PRIVATE ProofVerifierCallback {
27 public: 27 public:
28 virtual ~ProofVerifierCallback(); 28 virtual ~ProofVerifierCallback();
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 const std::vector<std::string>& certs, 73 const std::vector<std::string>& certs,
74 const std::string& signature, 74 const std::string& signature,
75 std::string* error_details, 75 std::string* error_details,
76 scoped_ptr<ProofVerifyDetails>* details, 76 scoped_ptr<ProofVerifyDetails>* details,
77 ProofVerifierCallback* callback) = 0; 77 ProofVerifierCallback* callback) = 0;
78 }; 78 };
79 79
80 } // namespace net 80 } // namespace net
81 81
82 #endif // NET_QUIC_CRYPTO_PROOF_VERIFIER_H_ 82 #endif // NET_QUIC_CRYPTO_PROOF_VERIFIER_H_
OLDNEW
« no previous file with comments | « no previous file | net/quic/crypto/quic_crypto_client_config.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698