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

Side by Side Diff: net/cert/ct_signed_certificate_timestamp_log_param.h

Issue 2400183002: Cleanup: More accurate output parameter type for CTVerifier (Closed)
Patch Set: IWYU, review comments Created 4 years, 2 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 | net/cert/ct_signed_certificate_timestamp_log_param.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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_CERT_CT_SIGNED_CERTIFICATE_TIMESTAMP_LOG_PARAM_H_ 5 #ifndef NET_CERT_CT_SIGNED_CERTIFICATE_TIMESTAMP_LOG_PARAM_H_
6 #define NET_CERT_CT_SIGNED_CERTIFICATE_TIMESTAMP_LOG_PARAM_H_ 6 #define NET_CERT_CT_SIGNED_CERTIFICATE_TIMESTAMP_LOG_PARAM_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
11 #include "net/cert/signed_certificate_timestamp_and_status.h"
12
11 namespace base { 13 namespace base {
12 class Value; 14 class Value;
13 } 15 }
14 16
15 namespace net { 17 namespace net {
16 18
17 class NetLogCaptureMode; 19 class NetLogCaptureMode;
18 20
19 namespace ct {
20 struct CTVerifyResult;
21 }
22
23 // Creates a dictionary of processed Signed Certificate Timestamps to be 21 // Creates a dictionary of processed Signed Certificate Timestamps to be
24 // logged in the NetLog. 22 // logged in the NetLog.
25 // See the documentation for SIGNED_CERTIFICATE_TIMESTAMPS_CHECKED 23 // See the documentation for SIGNED_CERTIFICATE_TIMESTAMPS_CHECKED
26 // in net/log/net_log_event_type_list.h 24 // in net/log/net_log_event_type_list.h
27 std::unique_ptr<base::Value> NetLogSignedCertificateTimestampCallback( 25 std::unique_ptr<base::Value> NetLogSignedCertificateTimestampCallback(
28 const ct::CTVerifyResult* ct_result, 26 const SignedCertificateTimestampAndStatusList* scts,
29 NetLogCaptureMode capture_mode); 27 NetLogCaptureMode capture_mode);
30 28
31 // Creates a dictionary of raw Signed Certificate Timestamps to be logged 29 // Creates a dictionary of raw Signed Certificate Timestamps to be logged
32 // in the NetLog. 30 // in the NetLog.
33 // See the documentation for SIGNED_CERTIFICATE_TIMESTAMPS_RECEIVED 31 // See the documentation for SIGNED_CERTIFICATE_TIMESTAMPS_RECEIVED
34 // in net/log/net_log_event_type_list.h 32 // in net/log/net_log_event_type_list.h
35 std::unique_ptr<base::Value> NetLogRawSignedCertificateTimestampCallback( 33 std::unique_ptr<base::Value> NetLogRawSignedCertificateTimestampCallback(
36 const std::string* embedded_scts, 34 const std::string* embedded_scts,
37 const std::string* sct_list_from_ocsp, 35 const std::string* sct_list_from_ocsp,
38 const std::string* sct_list_from_tls_extension, 36 const std::string* sct_list_from_tls_extension,
39 NetLogCaptureMode capture_mode); 37 NetLogCaptureMode capture_mode);
40 38
41 } // namespace net 39 } // namespace net
42 40
43 #endif // NET_CERT_CT_SIGNED_CERTIFICATE_TIMESTAMP_LOG_PARAM_H_ 41 #endif // NET_CERT_CT_SIGNED_CERTIFICATE_TIMESTAMP_LOG_PARAM_H_
OLDNEW
« no previous file with comments | « no previous file | net/cert/ct_signed_certificate_timestamp_log_param.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698