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

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

Issue 2566783002: Various formatting cleanups to net/quic/crypto and net/quic/congestion_control (Closed)
Patch Set: Rebase Created 3 years, 12 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
« no previous file with comments | « net/quic/core/crypto/p256_key_exchange_test.cc ('k') | net/quic/core/crypto/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) 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_CORE_CRYPTO_PROOF_SOURCE_H_ 5 #ifndef NET_QUIC_CORE_CRYPTO_PROOF_SOURCE_H_
6 #define NET_QUIC_CORE_CRYPTO_PROOF_SOURCE_H_ 6 #define NET_QUIC_CORE_CRYPTO_PROOF_SOURCE_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "net/quic/core/crypto/quic_crypto_proof.h" 12 #include "net/quic/core/crypto/quic_crypto_proof.h"
13 #include "net/quic/core/quic_packets.h" 13 #include "net/quic/core/quic_packets.h"
14 #include "net/quic/platform/api/quic_export.h" 14 #include "net/quic/platform/api/quic_export.h"
15 #include "net/quic/platform/api/quic_reference_counted.h" 15 #include "net/quic/platform/api/quic_reference_counted.h"
16 #include "net/quic/platform/api/quic_socket_address.h" 16 #include "net/quic/platform/api/quic_socket_address.h"
17 17
18 namespace net { 18 namespace net {
19 19
20 // ProofSource is an interface by which a QUIC server can obtain certificate 20 // ProofSource is an interface by which a QUIC server can obtain certificate
21 // chains and signatures that prove its identity. 21 // chains and signatures that prove its identity.
22 class QUIC_EXPORT_PRIVATE ProofSource { 22 class QUIC_EXPORT_PRIVATE ProofSource {
23 public: 23 public:
24 // Chain is a reference-counted wrapper for a std::vector of std::stringified 24 // Chain is a reference-counted wrapper for a vector of stringified
25 // certificates. 25 // certificates.
26 struct QUIC_EXPORT_PRIVATE Chain : public QuicReferenceCounted { 26 struct QUIC_EXPORT_PRIVATE Chain : public QuicReferenceCounted {
27 explicit Chain(const std::vector<std::string>& certs); 27 explicit Chain(const std::vector<std::string>& certs);
28 28
29 const std::vector<std::string> certs; 29 const std::vector<std::string> certs;
30 30
31 protected: 31 protected:
32 ~Chain() override; 32 ~Chain() override;
33 33
34 private: 34 private:
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 const std::string& server_config, 120 const std::string& server_config,
121 QuicVersion quic_version, 121 QuicVersion quic_version,
122 base::StringPiece chlo_hash, 122 base::StringPiece chlo_hash,
123 const QuicTagVector& connection_options, 123 const QuicTagVector& connection_options,
124 std::unique_ptr<Callback> callback) = 0; 124 std::unique_ptr<Callback> callback) = 0;
125 }; 125 };
126 126
127 } // namespace net 127 } // namespace net
128 128
129 #endif // NET_QUIC_CORE_CRYPTO_PROOF_SOURCE_H_ 129 #endif // NET_QUIC_CORE_CRYPTO_PROOF_SOURCE_H_
OLDNEW
« no previous file with comments | « net/quic/core/crypto/p256_key_exchange_test.cc ('k') | net/quic/core/crypto/proof_source.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698