| 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 "base/basictypes.h" | 7 #include "base/basictypes.h" |
| 8 #include "base/bind.h" | 8 #include "base/bind.h" |
| 9 #include "base/memory/scoped_vector.h" | 9 #include "base/memory/scoped_vector.h" |
| 10 #include "base/prefs/pref_value_map.h" | 10 #include "base/prefs/pref_value_map.h" |
| (...skipping 355 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 366 base::Value::TYPE_STRING }, | 366 base::Value::TYPE_STRING }, |
| 367 { key::kSupervisedUserCreationEnabled, | 367 { key::kSupervisedUserCreationEnabled, |
| 368 prefs::kSupervisedUserCreationAllowed, | 368 prefs::kSupervisedUserCreationAllowed, |
| 369 base::Value::TYPE_BOOLEAN }, | 369 base::Value::TYPE_BOOLEAN }, |
| 370 { key::kForceEphemeralProfiles, | 370 { key::kForceEphemeralProfiles, |
| 371 prefs::kForceEphemeralProfiles, | 371 prefs::kForceEphemeralProfiles, |
| 372 base::Value::TYPE_BOOLEAN }, | 372 base::Value::TYPE_BOOLEAN }, |
| 373 { key::kSSLVersionFallbackMin, | 373 { key::kSSLVersionFallbackMin, |
| 374 ssl_config::prefs::kSSLVersionFallbackMin, | 374 ssl_config::prefs::kSSLVersionFallbackMin, |
| 375 base::Value::TYPE_STRING }, | 375 base::Value::TYPE_STRING }, |
| 376 { key::kRC4Enabled, |
| 377 ssl_config::prefs::kRC4Enabled, |
| 378 base::Value::TYPE_BOOLEAN }, |
| 376 | 379 |
| 377 #if !defined(OS_MACOSX) && !defined(OS_IOS) | 380 #if !defined(OS_MACOSX) && !defined(OS_IOS) |
| 378 { key::kFullscreenAllowed, | 381 { key::kFullscreenAllowed, |
| 379 prefs::kFullscreenAllowed, | 382 prefs::kFullscreenAllowed, |
| 380 base::Value::TYPE_BOOLEAN }, | 383 base::Value::TYPE_BOOLEAN }, |
| 381 #if defined(ENABLE_EXTENSIONS) | 384 #if defined(ENABLE_EXTENSIONS) |
| 382 { key::kFullscreenAllowed, | 385 { key::kFullscreenAllowed, |
| 383 extensions::pref_names::kAppFullscreenAllowed, | 386 extensions::pref_names::kAppFullscreenAllowed, |
| 384 base::Value::TYPE_BOOLEAN }, | 387 base::Value::TYPE_BOOLEAN }, |
| 385 #endif // defined(ENABLE_EXTENSIONS) | 388 #endif // defined(ENABLE_EXTENSIONS) |
| (...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 800 SimpleSchemaValidatingPolicyHandler::RECOMMENDED_ALLOWED, | 803 SimpleSchemaValidatingPolicyHandler::RECOMMENDED_ALLOWED, |
| 801 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED))); | 804 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED))); |
| 802 handlers->AddHandler(make_scoped_ptr( | 805 handlers->AddHandler(make_scoped_ptr( |
| 803 new chromeos::KeyPermissionsPolicyHandler(chrome_schema))); | 806 new chromeos::KeyPermissionsPolicyHandler(chrome_schema))); |
| 804 #endif // defined(OS_CHROMEOS) | 807 #endif // defined(OS_CHROMEOS) |
| 805 | 808 |
| 806 return handlers.Pass(); | 809 return handlers.Pass(); |
| 807 } | 810 } |
| 808 | 811 |
| 809 } // namespace policy | 812 } // namespace policy |
| OLD | NEW |