| 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 #if defined(ENABLE_MEDIA_ROUTER) | 392 #if defined(ENABLE_MEDIA_ROUTER) |
| 396 { key::kEnableMediaRouter, | 393 { key::kEnableMediaRouter, |
| 397 prefs::kEnableMediaRouter, | 394 prefs::kEnableMediaRouter, |
| 398 base::Value::TYPE_BOOLEAN }, | 395 base::Value::TYPE_BOOLEAN }, |
| 399 #endif // defined(ENABLE_MEDIA_ROUTER) | 396 #endif // defined(ENABLE_MEDIA_ROUTER) |
| 400 #if !defined(OS_MACOSX) | 397 #if !defined(OS_MACOSX) |
| 401 { key::kFullscreenAllowed, | 398 { key::kFullscreenAllowed, |
| 402 prefs::kFullscreenAllowed, | 399 prefs::kFullscreenAllowed, |
| 403 base::Value::TYPE_BOOLEAN }, | 400 base::Value::TYPE_BOOLEAN }, |
| 404 #if defined(ENABLE_EXTENSIONS) | 401 #if defined(ENABLE_EXTENSIONS) |
| (...skipping 447 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 852 SimpleSchemaValidatingPolicyHandler::RECOMMENDED_ALLOWED, | 849 SimpleSchemaValidatingPolicyHandler::RECOMMENDED_ALLOWED, |
| 853 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED))); | 850 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED))); |
| 854 handlers->AddHandler(base::WrapUnique( | 851 handlers->AddHandler(base::WrapUnique( |
| 855 new chromeos::KeyPermissionsPolicyHandler(chrome_schema))); | 852 new chromeos::KeyPermissionsPolicyHandler(chrome_schema))); |
| 856 #endif // defined(OS_CHROMEOS) | 853 #endif // defined(OS_CHROMEOS) |
| 857 | 854 |
| 858 return handlers; | 855 return handlers; |
| 859 } | 856 } |
| 860 | 857 |
| 861 } // namespace policy | 858 } // namespace policy |
| OLD | NEW |