| OLD | NEW |
| 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 #include <utility> | 9 #include <utility> |
| 10 | 10 |
| (...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 214 base::Value::TYPE_LIST }, | 214 base::Value::TYPE_LIST }, |
| 215 { key::kNotificationsBlockedForUrls, | 215 { key::kNotificationsBlockedForUrls, |
| 216 prefs::kManagedNotificationsBlockedForUrls, | 216 prefs::kManagedNotificationsBlockedForUrls, |
| 217 base::Value::TYPE_LIST }, | 217 base::Value::TYPE_LIST }, |
| 218 { key::kDefaultNotificationsSetting, | 218 { key::kDefaultNotificationsSetting, |
| 219 prefs::kManagedDefaultNotificationsSetting, | 219 prefs::kManagedDefaultNotificationsSetting, |
| 220 base::Value::TYPE_INTEGER }, | 220 base::Value::TYPE_INTEGER }, |
| 221 { key::kDefaultGeolocationSetting, | 221 { key::kDefaultGeolocationSetting, |
| 222 prefs::kManagedDefaultGeolocationSetting, | 222 prefs::kManagedDefaultGeolocationSetting, |
| 223 base::Value::TYPE_INTEGER }, | 223 base::Value::TYPE_INTEGER }, |
| 224 { key::kUserCookiesExceptionsUsage, |
| 225 prefs::kUserCookiesExceptionsUsage, |
| 226 base::Value::TYPE_INTEGER }, |
| 227 { key::kUserPopupsExceptionsUsage, |
| 228 prefs::kUserPopupsExceptionsUsage, |
| 229 base::Value::TYPE_INTEGER }, |
| 224 { key::kSigninAllowed, | 230 { key::kSigninAllowed, |
| 225 prefs::kSigninAllowed, | 231 prefs::kSigninAllowed, |
| 226 base::Value::TYPE_BOOLEAN }, | 232 base::Value::TYPE_BOOLEAN }, |
| 227 { key::kEnableOnlineRevocationChecks, | 233 { key::kEnableOnlineRevocationChecks, |
| 228 ssl_config::prefs::kCertRevocationCheckingEnabled, | 234 ssl_config::prefs::kCertRevocationCheckingEnabled, |
| 229 base::Value::TYPE_BOOLEAN }, | 235 base::Value::TYPE_BOOLEAN }, |
| 230 { key::kRequireOnlineRevocationChecksForLocalAnchors, | 236 { key::kRequireOnlineRevocationChecksForLocalAnchors, |
| 231 ssl_config::prefs::kCertRevocationCheckingRequiredLocalAnchors, | 237 ssl_config::prefs::kCertRevocationCheckingRequiredLocalAnchors, |
| 232 base::Value::TYPE_BOOLEAN }, | 238 base::Value::TYPE_BOOLEAN }, |
| 233 { key::kAuthSchemes, | 239 { key::kAuthSchemes, |
| (...skipping 602 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 836 SimpleSchemaValidatingPolicyHandler::RECOMMENDED_ALLOWED, | 842 SimpleSchemaValidatingPolicyHandler::RECOMMENDED_ALLOWED, |
| 837 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED))); | 843 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED))); |
| 838 handlers->AddHandler(make_scoped_ptr( | 844 handlers->AddHandler(make_scoped_ptr( |
| 839 new chromeos::KeyPermissionsPolicyHandler(chrome_schema))); | 845 new chromeos::KeyPermissionsPolicyHandler(chrome_schema))); |
| 840 #endif // defined(OS_CHROMEOS) | 846 #endif // defined(OS_CHROMEOS) |
| 841 | 847 |
| 842 return handlers; | 848 return handlers; |
| 843 } | 849 } |
| 844 | 850 |
| 845 } // namespace policy | 851 } // namespace policy |
| OLD | NEW |