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

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

Issue 2333923004: Extracting NetLog inner classes into their own classes. (Closed)
Patch Set: Some nit fixes and better, impl-agnostic naming of net_log_parameters_callback_typedef.h -> net/log… 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_POLICY_ENFORCER_H 5 #ifndef NET_CERT_CT_POLICY_ENFORCER_H
6 #define NET_CERT_CT_POLICY_ENFORCER_H 6 #define NET_CERT_CT_POLICY_ENFORCER_H
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <vector> 9 #include <vector>
10 10
11 #include "net/base/net_export.h" 11 #include "net/base/net_export.h"
12 #include "net/cert/signed_certificate_timestamp.h" 12 #include "net/cert/signed_certificate_timestamp.h"
13 #include "net/log/net_log.h"
14 13
15 namespace net { 14 namespace net {
16 15
16 class NetLogWithSource;
17
17 namespace ct { 18 namespace ct {
18 19
19 class EVCertsWhitelist; 20 class EVCertsWhitelist;
20 enum class CertPolicyCompliance; 21 enum class CertPolicyCompliance;
21 enum class EVPolicyCompliance; 22 enum class EVPolicyCompliance;
22 23
23 } // namespace ct 24 } // namespace ct
24 25
25 class X509Certificate; 26 class X509Certificate;
26 27
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 virtual ct::EVPolicyCompliance DoesConformToCTEVPolicy( 99 virtual ct::EVPolicyCompliance DoesConformToCTEVPolicy(
99 X509Certificate* cert, 100 X509Certificate* cert,
100 const ct::EVCertsWhitelist* ev_whitelist, 101 const ct::EVCertsWhitelist* ev_whitelist,
101 const SCTList& verified_scts, 102 const SCTList& verified_scts,
102 const NetLogWithSource& net_log); 103 const NetLogWithSource& net_log);
103 }; 104 };
104 105
105 } // namespace net 106 } // namespace net
106 107
107 #endif // NET_CERT_CT_POLICY_ENFORCER_H 108 #endif // NET_CERT_CT_POLICY_ENFORCER_H
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698