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

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

Issue 2346323003: Fix bizarro comment formatting (Closed)
Patch Set: Created 4 years, 3 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 | « no previous file | no next file » | 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 <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 // the values of the remaining three arguments are undefined. 55 // the values of the remaining three arguments are undefined.
56 // 56 //
57 // |chain| is a reference-counted pointer to an object representing the 57 // |chain| is a reference-counted pointer to an object representing the
58 // certificate chain. 58 // certificate chain.
59 // 59 //
60 // |signature| contains the signature of the server config. 60 // |signature| contains the signature of the server config.
61 // 61 //
62 // |leaf_cert_sct| holds the signed timestamp (RFC6962) of the leaf cert. 62 // |leaf_cert_sct| holds the signed timestamp (RFC6962) of the leaf cert.
63 // 63 //
64 // |details| holds a pointer to an object representing the statistics, if 64 // |details| holds a pointer to an object representing the statistics, if
65 // any, 65 // any, gathered during the operation of GetProof. If no stats are
66 // gathered during the operation of GetProof. If no stats are available, 66 // available, this will be nullptr.
67 // this will be nullptr.
68 virtual void Run(bool ok, 67 virtual void Run(bool ok,
69 const scoped_refptr<Chain>& chain, 68 const scoped_refptr<Chain>& chain,
70 const std::string& signature, 69 const std::string& signature,
71 const std::string& leaf_cert_sct, 70 const std::string& leaf_cert_sct,
72 std::unique_ptr<Details> details) = 0; 71 std::unique_ptr<Details> details) = 0;
73 72
74 private: 73 private:
75 Callback(const Callback&) = delete; 74 Callback(const Callback&) = delete;
76 Callback& operator=(const Callback&) = delete; 75 Callback& operator=(const Callback&) = delete;
77 }; 76 };
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 const std::string& hostname, 127 const std::string& hostname,
129 const std::string& server_config, 128 const std::string& server_config,
130 QuicVersion quic_version, 129 QuicVersion quic_version,
131 base::StringPiece chlo_hash, 130 base::StringPiece chlo_hash,
132 std::unique_ptr<Callback> callback) = 0; 131 std::unique_ptr<Callback> callback) = 0;
133 }; 132 };
134 133
135 } // namespace net 134 } // namespace net
136 135
137 #endif // NET_QUIC_CRYPTO_PROOF_SOURCE_H_ 136 #endif // NET_QUIC_CRYPTO_PROOF_SOURCE_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698