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

Side by Side Diff: chrome/browser/policy/configuration_policy_handler_list_factory.cc

Issue 2735733003: Disable commonName matching for certificates (Closed)
Patch Set: Created 3 years, 9 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 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 #include "chrome/browser/policy/configuration_policy_handler_list_factory.h" 5 #include "chrome/browser/policy/configuration_policy_handler_list_factory.h"
6 6
7 #include <limits.h> 7 #include <limits.h>
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <utility> 10 #include <utility>
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 base::Value::Type::BOOLEAN }, 240 base::Value::Type::BOOLEAN },
241 { key::kEnableOnlineRevocationChecks, 241 { key::kEnableOnlineRevocationChecks,
242 ssl_config::prefs::kCertRevocationCheckingEnabled, 242 ssl_config::prefs::kCertRevocationCheckingEnabled,
243 base::Value::Type::BOOLEAN }, 243 base::Value::Type::BOOLEAN },
244 { key::kRequireOnlineRevocationChecksForLocalAnchors, 244 { key::kRequireOnlineRevocationChecksForLocalAnchors,
245 ssl_config::prefs::kCertRevocationCheckingRequiredLocalAnchors, 245 ssl_config::prefs::kCertRevocationCheckingRequiredLocalAnchors,
246 base::Value::Type::BOOLEAN }, 246 base::Value::Type::BOOLEAN },
247 { key::kEnableSha1ForLocalAnchors, 247 { key::kEnableSha1ForLocalAnchors,
248 ssl_config::prefs::kCertEnableSha1LocalAnchors, 248 ssl_config::prefs::kCertEnableSha1LocalAnchors,
249 base::Value::Type::BOOLEAN }, 249 base::Value::Type::BOOLEAN },
250 { key::kEnableCommonNameFallbackForLocalAnchors,
251 ssl_config::prefs::kCertEnableCommonNameFallbackLocalAnchors,
252 base::Value::Type::BOOLEAN },
250 { key::kAuthSchemes, 253 { key::kAuthSchemes,
251 prefs::kAuthSchemes, 254 prefs::kAuthSchemes,
252 base::Value::Type::STRING }, 255 base::Value::Type::STRING },
253 { key::kDisableAuthNegotiateCnameLookup, 256 { key::kDisableAuthNegotiateCnameLookup,
254 prefs::kDisableAuthNegotiateCnameLookup, 257 prefs::kDisableAuthNegotiateCnameLookup,
255 base::Value::Type::BOOLEAN }, 258 base::Value::Type::BOOLEAN },
256 { key::kEnableAuthNegotiatePort, 259 { key::kEnableAuthNegotiatePort,
257 prefs::kEnableAuthNegotiatePort, 260 prefs::kEnableAuthNegotiatePort,
258 base::Value::Type::BOOLEAN }, 261 base::Value::Type::BOOLEAN },
259 { key::kAuthServerWhitelist, 262 { key::kAuthServerWhitelist,
(...skipping 748 matching lines...) Expand 10 before | Expand all | Expand 10 after
1008 #endif // defined(OS_CHROMEOS) 1011 #endif // defined(OS_CHROMEOS)
1009 1012
1010 #if BUILDFLAG(ENABLE_PLUGINS) 1013 #if BUILDFLAG(ENABLE_PLUGINS)
1011 handlers->AddHandler(base::MakeUnique<PluginPolicyHandler>()); 1014 handlers->AddHandler(base::MakeUnique<PluginPolicyHandler>());
1012 #endif // BUILDFLAG(ENABLE_PLUGINS) 1015 #endif // BUILDFLAG(ENABLE_PLUGINS)
1013 1016
1014 return handlers; 1017 return handlers;
1015 } 1018 }
1016 1019
1017 } // namespace policy 1020 } // namespace policy
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/test/https_forwarder.py ('k') | chrome/test/data/extensions/api_test/platform_keys/ca.cnf » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698