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 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
320 base::Value::TYPE_INTEGER }, | 320 base::Value::TYPE_INTEGER }, |
321 { key::kDisableSafeBrowsingProceedAnyway, | 321 { key::kDisableSafeBrowsingProceedAnyway, |
322 prefs::kSafeBrowsingProceedAnywayDisabled, | 322 prefs::kSafeBrowsingProceedAnywayDisabled, |
323 base::Value::TYPE_BOOLEAN }, | 323 base::Value::TYPE_BOOLEAN }, |
324 { key::kSafeBrowsingExtendedReportingOptInAllowed, | 324 { key::kSafeBrowsingExtendedReportingOptInAllowed, |
325 prefs::kSafeBrowsingExtendedReportingOptInAllowed, | 325 prefs::kSafeBrowsingExtendedReportingOptInAllowed, |
326 base::Value::TYPE_BOOLEAN }, | 326 base::Value::TYPE_BOOLEAN }, |
327 { key::kSSLErrorOverrideAllowed, | 327 { key::kSSLErrorOverrideAllowed, |
328 prefs::kSSLErrorOverrideAllowed, | 328 prefs::kSSLErrorOverrideAllowed, |
329 base::Value::TYPE_BOOLEAN }, | 329 base::Value::TYPE_BOOLEAN }, |
| 330 { key::kHardwareAccelerationModeEnabled, |
| 331 prefs::kHardwareAccelerationModeEnabled, |
| 332 base::Value::TYPE_BOOLEAN }, |
330 | 333 |
331 #if defined(ENABLE_SPELLCHECK) | 334 #if defined(ENABLE_SPELLCHECK) |
332 { key::kSpellCheckServiceEnabled, | 335 { key::kSpellCheckServiceEnabled, |
333 prefs::kSpellCheckUseSpellingService, | 336 prefs::kSpellCheckUseSpellingService, |
334 base::Value::TYPE_BOOLEAN }, | 337 base::Value::TYPE_BOOLEAN }, |
335 #endif // defined(ENABLE_SPELLCHECK) | 338 #endif // defined(ENABLE_SPELLCHECK) |
336 | 339 |
337 { key::kDisableScreenshots, | 340 { key::kDisableScreenshots, |
338 prefs::kDisableScreenshots, | 341 prefs::kDisableScreenshots, |
339 base::Value::TYPE_BOOLEAN }, | 342 base::Value::TYPE_BOOLEAN }, |
(...skipping 445 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
785 SimpleSchemaValidatingPolicyHandler::RECOMMENDED_ALLOWED, | 788 SimpleSchemaValidatingPolicyHandler::RECOMMENDED_ALLOWED, |
786 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED))); | 789 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED))); |
787 handlers->AddHandler(make_scoped_ptr( | 790 handlers->AddHandler(make_scoped_ptr( |
788 new chromeos::KeyPermissionsPolicyHandler(chrome_schema))); | 791 new chromeos::KeyPermissionsPolicyHandler(chrome_schema))); |
789 #endif // defined(OS_CHROMEOS) | 792 #endif // defined(OS_CHROMEOS) |
790 | 793 |
791 return handlers.Pass(); | 794 return handlers.Pass(); |
792 } | 795 } |
793 | 796 |
794 } // namespace policy | 797 } // namespace policy |
OLD | NEW |