| 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 #include <utility> | 9 #include <utility> |
| 10 | 10 |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 base::Value::TYPE_BOOLEAN }, | 109 base::Value::TYPE_BOOLEAN }, |
| 110 { key::kForceGoogleSafeSearch, | 110 { key::kForceGoogleSafeSearch, |
| 111 prefs::kForceGoogleSafeSearch, | 111 prefs::kForceGoogleSafeSearch, |
| 112 base::Value::TYPE_BOOLEAN }, | 112 base::Value::TYPE_BOOLEAN }, |
| 113 { key::kForceYouTubeSafetyMode, | 113 { key::kForceYouTubeSafetyMode, |
| 114 prefs::kForceYouTubeSafetyMode, | 114 prefs::kForceYouTubeSafetyMode, |
| 115 base::Value::TYPE_BOOLEAN }, | 115 base::Value::TYPE_BOOLEAN }, |
| 116 { key::kPasswordManagerEnabled, | 116 { key::kPasswordManagerEnabled, |
| 117 password_manager::prefs::kPasswordManagerSavingEnabled, | 117 password_manager::prefs::kPasswordManagerSavingEnabled, |
| 118 base::Value::TYPE_BOOLEAN }, | 118 base::Value::TYPE_BOOLEAN }, |
| 119 { key::kPasswordManagerAllowShowPasswords, | |
| 120 password_manager::prefs::kPasswordManagerAllowShowPasswords, | |
| 121 base::Value::TYPE_BOOLEAN }, | |
| 122 { key::kPrintingEnabled, | 119 { key::kPrintingEnabled, |
| 123 prefs::kPrintingEnabled, | 120 prefs::kPrintingEnabled, |
| 124 base::Value::TYPE_BOOLEAN }, | 121 base::Value::TYPE_BOOLEAN }, |
| 125 { key::kDisablePrintPreview, | 122 { key::kDisablePrintPreview, |
| 126 prefs::kPrintPreviewDisabled, | 123 prefs::kPrintPreviewDisabled, |
| 127 base::Value::TYPE_BOOLEAN }, | 124 base::Value::TYPE_BOOLEAN }, |
| 128 { key::kDefaultPrinterSelection, | 125 { key::kDefaultPrinterSelection, |
| 129 prefs::kPrintPreviewDefaultDestinationSelectionRules, | 126 prefs::kPrintPreviewDefaultDestinationSelectionRules, |
| 130 base::Value::TYPE_STRING }, | 127 base::Value::TYPE_STRING }, |
| 131 { key::kApplicationLocaleValue, | 128 { key::kApplicationLocaleValue, |
| (...skipping 698 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 830 SimpleSchemaValidatingPolicyHandler::RECOMMENDED_ALLOWED, | 827 SimpleSchemaValidatingPolicyHandler::RECOMMENDED_ALLOWED, |
| 831 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED))); | 828 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED))); |
| 832 handlers->AddHandler(make_scoped_ptr( | 829 handlers->AddHandler(make_scoped_ptr( |
| 833 new chromeos::KeyPermissionsPolicyHandler(chrome_schema))); | 830 new chromeos::KeyPermissionsPolicyHandler(chrome_schema))); |
| 834 #endif // defined(OS_CHROMEOS) | 831 #endif // defined(OS_CHROMEOS) |
| 835 | 832 |
| 836 return handlers; | 833 return handlers; |
| 837 } | 834 } |
| 838 | 835 |
| 839 } // namespace policy | 836 } // namespace policy |
| OLD | NEW |