| 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_STRING }, | 382 base::Value::TYPE_STRING }, |
| 383 { key::kSupervisedUserCreationEnabled, | 383 { key::kSupervisedUserCreationEnabled, |
| 384 prefs::kSupervisedUserCreationAllowed, | 384 prefs::kSupervisedUserCreationAllowed, |
| 385 base::Value::TYPE_BOOLEAN }, | 385 base::Value::TYPE_BOOLEAN }, |
| 386 { key::kForceEphemeralProfiles, | 386 { key::kForceEphemeralProfiles, |
| 387 prefs::kForceEphemeralProfiles, | 387 prefs::kForceEphemeralProfiles, |
| 388 base::Value::TYPE_BOOLEAN }, | 388 base::Value::TYPE_BOOLEAN }, |
| 389 { key::kSSLVersionFallbackMin, | 389 { key::kSSLVersionFallbackMin, |
| 390 ssl_config::prefs::kSSLVersionFallbackMin, | 390 ssl_config::prefs::kSSLVersionFallbackMin, |
| 391 base::Value::TYPE_STRING }, | 391 base::Value::TYPE_STRING }, |
| 392 { key::kRC4Enabled, | |
| 393 ssl_config::prefs::kRC4Enabled, | |
| 394 base::Value::TYPE_BOOLEAN }, | |
| 395 | 392 |
| 396 #if !defined(OS_MACOSX) | 393 #if !defined(OS_MACOSX) |
| 397 { key::kFullscreenAllowed, | 394 { key::kFullscreenAllowed, |
| 398 prefs::kFullscreenAllowed, | 395 prefs::kFullscreenAllowed, |
| 399 base::Value::TYPE_BOOLEAN }, | 396 base::Value::TYPE_BOOLEAN }, |
| 400 #if defined(ENABLE_EXTENSIONS) | 397 #if defined(ENABLE_EXTENSIONS) |
| 401 { key::kFullscreenAllowed, | 398 { key::kFullscreenAllowed, |
| 402 extensions::pref_names::kAppFullscreenAllowed, | 399 extensions::pref_names::kAppFullscreenAllowed, |
| 403 base::Value::TYPE_BOOLEAN }, | 400 base::Value::TYPE_BOOLEAN }, |
| 404 #endif // defined(ENABLE_EXTENSIONS) | 401 #endif // defined(ENABLE_EXTENSIONS) |
| (...skipping 443 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 848 SimpleSchemaValidatingPolicyHandler::RECOMMENDED_ALLOWED, | 845 SimpleSchemaValidatingPolicyHandler::RECOMMENDED_ALLOWED, |
| 849 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED))); | 846 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED))); |
| 850 handlers->AddHandler(base::WrapUnique( | 847 handlers->AddHandler(base::WrapUnique( |
| 851 new chromeos::KeyPermissionsPolicyHandler(chrome_schema))); | 848 new chromeos::KeyPermissionsPolicyHandler(chrome_schema))); |
| 852 #endif // defined(OS_CHROMEOS) | 849 #endif // defined(OS_CHROMEOS) |
| 853 | 850 |
| 854 return handlers; | 851 return handlers; |
| 855 } | 852 } |
| 856 | 853 |
| 857 } // namespace policy | 854 } // namespace policy |
| OLD | NEW |