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 439 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
779 SimpleSchemaValidatingPolicyHandler::RECOMMENDED_ALLOWED, | 782 SimpleSchemaValidatingPolicyHandler::RECOMMENDED_ALLOWED, |
780 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED))); | 783 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED))); |
781 handlers->AddHandler(make_scoped_ptr( | 784 handlers->AddHandler(make_scoped_ptr( |
782 new chromeos::KeyPermissionsPolicyHandler(chrome_schema))); | 785 new chromeos::KeyPermissionsPolicyHandler(chrome_schema))); |
783 #endif // defined(OS_CHROMEOS) | 786 #endif // defined(OS_CHROMEOS) |
784 | 787 |
785 return handlers.Pass(); | 788 return handlers.Pass(); |
786 } | 789 } |
787 | 790 |
788 } // namespace policy | 791 } // namespace policy |
OLD | NEW |