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

Unified Diff: components/certificate_transparency/pref_names.h

Issue 2102783003: Add enterprise policy to exempt hosts from Certificate Transparency (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@enterprise_ct
Patch Set: Feedback Created 4 years, 6 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
Index: components/certificate_transparency/pref_names.h
diff --git a/components/certificate_transparency/pref_names.h b/components/certificate_transparency/pref_names.h
new file mode 100644
index 0000000000000000000000000000000000000000..f27716d15b650a0daf31f6f630a1ffca2d7e8c17
--- /dev/null
+++ b/components/certificate_transparency/pref_names.h
@@ -0,0 +1,23 @@
+// Copyright 2016 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 COMPONENTS_CERTIFICATE_TRANSPARENCY_PREF_NAMES_H_
+#define COMPONENTS_CERTIFICATE_TRANSPARENCY_PREF_NAMES_H_
+
+namespace certificate_transparency {
+namespace prefs {
+
+// The set of hosts (as URLBlacklist-syntax filters) for which Certificate
+// Transparency is required to be present.
+extern const char kCTRequiredHosts[];
+
+// The set of hosts (as URLBlacklist-syntax filters) for which Certificate
+// Transparency information is allowed to be absent, even if it would
+// otherwise be required (e.g. as part of security policy).
+extern const char kCTExcludedHosts[];
+
+} // namespace prefs
+} // namespace certificate_transparency
+
+#endif // COMPONENTS_CERTIFICATE_TRANSPARENCY_PREF_NAMES_H_

Powered by Google App Engine
This is Rietveld 408576698