| 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 | 9 |
| 10 #include <utility> | 10 #include <utility> |
| (...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 382 base::Value::TYPE_BOOLEAN }, | 382 base::Value::TYPE_BOOLEAN }, |
| 383 { key::kVariationsRestrictParameter, | 383 { key::kVariationsRestrictParameter, |
| 384 variations::prefs::kVariationsRestrictParameter, | 384 variations::prefs::kVariationsRestrictParameter, |
| 385 base::Value::TYPE_STRING }, | 385 base::Value::TYPE_STRING }, |
| 386 { key::kSupervisedUserCreationEnabled, | 386 { key::kSupervisedUserCreationEnabled, |
| 387 prefs::kSupervisedUserCreationAllowed, | 387 prefs::kSupervisedUserCreationAllowed, |
| 388 base::Value::TYPE_BOOLEAN }, | 388 base::Value::TYPE_BOOLEAN }, |
| 389 { key::kForceEphemeralProfiles, | 389 { key::kForceEphemeralProfiles, |
| 390 prefs::kForceEphemeralProfiles, | 390 prefs::kForceEphemeralProfiles, |
| 391 base::Value::TYPE_BOOLEAN }, | 391 base::Value::TYPE_BOOLEAN }, |
| 392 { key::kSSLVersionFallbackMin, | |
| 393 ssl_config::prefs::kSSLVersionFallbackMin, | |
| 394 base::Value::TYPE_STRING }, | |
| 395 { key::kDHEEnabled, | 392 { key::kDHEEnabled, |
| 396 ssl_config::prefs::kDHEEnabled, | 393 ssl_config::prefs::kDHEEnabled, |
| 397 base::Value::TYPE_BOOLEAN }, | 394 base::Value::TYPE_BOOLEAN }, |
| 398 #if defined(ENABLE_MEDIA_ROUTER) | 395 #if defined(ENABLE_MEDIA_ROUTER) |
| 399 { key::kEnableMediaRouter, | 396 { key::kEnableMediaRouter, |
| 400 prefs::kEnableMediaRouter, | 397 prefs::kEnableMediaRouter, |
| 401 base::Value::TYPE_BOOLEAN }, | 398 base::Value::TYPE_BOOLEAN }, |
| 402 #endif // defined(ENABLE_MEDIA_ROUTER) | 399 #endif // defined(ENABLE_MEDIA_ROUTER) |
| 403 #if !defined(OS_MACOSX) | 400 #if !defined(OS_MACOSX) |
| 404 { key::kFullscreenAllowed, | 401 { key::kFullscreenAllowed, |
| (...skipping 450 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 855 SimpleSchemaValidatingPolicyHandler::RECOMMENDED_ALLOWED, | 852 SimpleSchemaValidatingPolicyHandler::RECOMMENDED_ALLOWED, |
| 856 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED))); | 853 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED))); |
| 857 handlers->AddHandler(base::WrapUnique( | 854 handlers->AddHandler(base::WrapUnique( |
| 858 new chromeos::KeyPermissionsPolicyHandler(chrome_schema))); | 855 new chromeos::KeyPermissionsPolicyHandler(chrome_schema))); |
| 859 #endif // defined(OS_CHROMEOS) | 856 #endif // defined(OS_CHROMEOS) |
| 860 | 857 |
| 861 return handlers; | 858 return handlers; |
| 862 } | 859 } |
| 863 | 860 |
| 864 } // namespace policy | 861 } // namespace policy |
| OLD | NEW |