blob: 776a51876da01a9732ea0fee27925734a7819e79 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
// 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.
#include "components/certificate_transparency/pref_names.h"
#include "components/prefs/pref_change_registrar.h"
#include "components/prefs/pref_registry_simple.h"
namespace certificate_transparency {
namespace prefs {
void RegisterPrefs(PrefRegistrySimple* registry) {
registry->RegisterListPref(prefs::kCTRequiredHosts);
registry->RegisterListPref(prefs::kCTExcludedHosts);
registry->RegisterListPref(prefs::kCTExcludedSPKIs);
registry->RegisterListPref(prefs::kCTExcludedLegacySPKIs);
}
const char kCTRequiredHosts[] = "certificate_transparency.required_hosts";
const char kCTExcludedHosts[] = "certificate_transparency.excluded_hosts";
const char kCTExcludedSPKIs[] = "certificate_transparency.excluded_spkis";
const char kCTExcludedLegacySPKIs[] =
"certificate_transparency.excluded_legacy_spkis";
} // namespace prefs
} // namespace certificate_transparency
|