| 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 344 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 355 base::Value::TYPE_BOOLEAN }, | 355 base::Value::TYPE_BOOLEAN }, |
| 356 { key::kHardwareAccelerationModeEnabled, | 356 { key::kHardwareAccelerationModeEnabled, |
| 357 prefs::kHardwareAccelerationModeEnabled, | 357 prefs::kHardwareAccelerationModeEnabled, |
| 358 base::Value::TYPE_BOOLEAN }, | 358 base::Value::TYPE_BOOLEAN }, |
| 359 { key::kAllowDinosaurEasterEgg, | 359 { key::kAllowDinosaurEasterEgg, |
| 360 prefs::kAllowDinosaurEasterEgg, | 360 prefs::kAllowDinosaurEasterEgg, |
| 361 base::Value::TYPE_BOOLEAN }, | 361 base::Value::TYPE_BOOLEAN }, |
| 362 { key::kAllowedDomainsForApps, | 362 { key::kAllowedDomainsForApps, |
| 363 prefs::kAllowedDomainsForApps, | 363 prefs::kAllowedDomainsForApps, |
| 364 base::Value::TYPE_STRING }, | 364 base::Value::TYPE_STRING }, |
| 365 { key::kEnabledComponentUpdates, |
| 366 prefs::kEnabledComponentUpdates, |
| 367 base::Value::TYPE_BOOLEAN }, |
| 365 | 368 |
| 366 #if defined(ENABLE_SPELLCHECK) | 369 #if defined(ENABLE_SPELLCHECK) |
| 367 { key::kSpellCheckServiceEnabled, | 370 { key::kSpellCheckServiceEnabled, |
| 368 spellcheck::prefs::kSpellCheckUseSpellingService, | 371 spellcheck::prefs::kSpellCheckUseSpellingService, |
| 369 base::Value::TYPE_BOOLEAN }, | 372 base::Value::TYPE_BOOLEAN }, |
| 370 #endif // defined(ENABLE_SPELLCHECK) | 373 #endif // defined(ENABLE_SPELLCHECK) |
| 371 | 374 |
| 372 { key::kDisableScreenshots, | 375 { key::kDisableScreenshots, |
| 373 prefs::kDisableScreenshots, | 376 prefs::kDisableScreenshots, |
| 374 base::Value::TYPE_BOOLEAN }, | 377 base::Value::TYPE_BOOLEAN }, |
| (...skipping 502 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 877 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED))); | 880 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED))); |
| 878 handlers->AddHandler(base::WrapUnique( | 881 handlers->AddHandler(base::WrapUnique( |
| 879 new chromeos::KeyPermissionsPolicyHandler(chrome_schema))); | 882 new chromeos::KeyPermissionsPolicyHandler(chrome_schema))); |
| 880 handlers->AddHandler(base::WrapUnique(new DefaultGeolocationPolicyHandler())); | 883 handlers->AddHandler(base::WrapUnique(new DefaultGeolocationPolicyHandler())); |
| 881 #endif // defined(OS_CHROMEOS) | 884 #endif // defined(OS_CHROMEOS) |
| 882 | 885 |
| 883 return handlers; | 886 return handlers; |
| 884 } | 887 } |
| 885 | 888 |
| 886 } // namespace policy | 889 } // namespace policy |
| OLD | NEW |