| 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/values.h" | 10 #include "base/values.h" |
| (...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 359 base::Value::TYPE_BOOLEAN }, | 359 base::Value::TYPE_BOOLEAN }, |
| 360 { key::kVariationsRestrictParameter, | 360 { key::kVariationsRestrictParameter, |
| 361 prefs::kVariationsRestrictParameter, | 361 prefs::kVariationsRestrictParameter, |
| 362 base::Value::TYPE_STRING }, | 362 base::Value::TYPE_STRING }, |
| 363 { key::kSupervisedUserCreationEnabled, | 363 { key::kSupervisedUserCreationEnabled, |
| 364 prefs::kSupervisedUserCreationAllowed, | 364 prefs::kSupervisedUserCreationAllowed, |
| 365 base::Value::TYPE_BOOLEAN }, | 365 base::Value::TYPE_BOOLEAN }, |
| 366 { key::kForceEphemeralProfiles, | 366 { key::kForceEphemeralProfiles, |
| 367 prefs::kForceEphemeralProfiles, | 367 prefs::kForceEphemeralProfiles, |
| 368 base::Value::TYPE_BOOLEAN }, | 368 base::Value::TYPE_BOOLEAN }, |
| 369 { key::kSSLVersionMin, |
| 370 prefs::kSSLVersionMin, |
| 371 base::Value::TYPE_STRING }, |
| 369 | 372 |
| 370 #if !defined(OS_MACOSX) && !defined(OS_IOS) | 373 #if !defined(OS_MACOSX) && !defined(OS_IOS) |
| 371 { key::kFullscreenAllowed, | 374 { key::kFullscreenAllowed, |
| 372 prefs::kFullscreenAllowed, | 375 prefs::kFullscreenAllowed, |
| 373 base::Value::TYPE_BOOLEAN }, | 376 base::Value::TYPE_BOOLEAN }, |
| 374 #if defined(ENABLE_EXTENSIONS) | 377 #if defined(ENABLE_EXTENSIONS) |
| 375 { key::kFullscreenAllowed, | 378 { key::kFullscreenAllowed, |
| 376 extensions::pref_names::kAppFullscreenAllowed, | 379 extensions::pref_names::kAppFullscreenAllowed, |
| 377 base::Value::TYPE_BOOLEAN }, | 380 base::Value::TYPE_BOOLEAN }, |
| 378 #endif // defined(ENABLE_EXTENSIONS) | 381 #endif // defined(ENABLE_EXTENSIONS) |
| (...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 793 chrome_schema, | 796 chrome_schema, |
| 794 SCHEMA_STRICT, | 797 SCHEMA_STRICT, |
| 795 SimpleSchemaValidatingPolicyHandler::RECOMMENDED_ALLOWED, | 798 SimpleSchemaValidatingPolicyHandler::RECOMMENDED_ALLOWED, |
| 796 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED))); | 799 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED))); |
| 797 #endif // defined(OS_CHROMEOS) | 800 #endif // defined(OS_CHROMEOS) |
| 798 | 801 |
| 799 return handlers.Pass(); | 802 return handlers.Pass(); |
| 800 } | 803 } |
| 801 | 804 |
| 802 } // namespace policy | 805 } // namespace policy |
| OLD | NEW |