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

Unified Diff: net/cert/ct_policy_enforcer.h

Issue 1579233002: Rename CertPolicyEnforcer to CTPolicyEnforcer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/cert/cert_policy_enforcer_unittest.cc ('k') | net/cert/ct_policy_enforcer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/cert/ct_policy_enforcer.h
diff --git a/net/cert/cert_policy_enforcer.h b/net/cert/ct_policy_enforcer.h
similarity index 83%
rename from net/cert/cert_policy_enforcer.h
rename to net/cert/ct_policy_enforcer.h
index ea24dbd91f1c8dab4d4f5da26b6e16cf4b4ae70b..8c29da5ecb3a9891ef2be90a55ae873ab61c91d4 100644
--- a/net/cert/cert_policy_enforcer.h
+++ b/net/cert/ct_policy_enforcer.h
@@ -1,8 +1,8 @@
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef NET_CERT_CERT_POLICY_ENFORCER_H
-#define NET_CERT_CERT_POLICY_ENFORCER_H
+#ifndef NET_CERT_CT_POLICY_ENFORCER_H
+#define NET_CERT_CT_POLICY_ENFORCER_H
#include <stddef.h>
@@ -22,10 +22,10 @@ class X509Certificate;
// Class for checking that a given certificate conforms to security-related
// policies.
-class NET_EXPORT CertPolicyEnforcer {
+class NET_EXPORT CTPolicyEnforcer {
public:
- CertPolicyEnforcer() {}
- virtual ~CertPolicyEnforcer() {}
+ CTPolicyEnforcer() {}
+ virtual ~CTPolicyEnforcer() {}
// Returns true if the collection of SCTs for the given certificate
// conforms with the CT/EV policy. Conformance details are logged to
@@ -41,4 +41,4 @@ class NET_EXPORT CertPolicyEnforcer {
} // namespace net
-#endif // NET_CERT_CERT_POLICY_ENFORCER_H
+#endif // NET_CERT_CT_POLICY_ENFORCER_H
« no previous file with comments | « net/cert/cert_policy_enforcer_unittest.cc ('k') | net/cert/ct_policy_enforcer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698