| 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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 base::Value::TYPE_BOOLEAN }, | 115 base::Value::TYPE_BOOLEAN }, |
| 116 { key::kPasswordManagerAllowShowPasswords, | 116 { key::kPasswordManagerAllowShowPasswords, |
| 117 password_manager::prefs::kPasswordManagerAllowShowPasswords, | 117 password_manager::prefs::kPasswordManagerAllowShowPasswords, |
| 118 base::Value::TYPE_BOOLEAN }, | 118 base::Value::TYPE_BOOLEAN }, |
| 119 { key::kPrintingEnabled, | 119 { key::kPrintingEnabled, |
| 120 prefs::kPrintingEnabled, | 120 prefs::kPrintingEnabled, |
| 121 base::Value::TYPE_BOOLEAN }, | 121 base::Value::TYPE_BOOLEAN }, |
| 122 { key::kDisablePrintPreview, | 122 { key::kDisablePrintPreview, |
| 123 prefs::kPrintPreviewDisabled, | 123 prefs::kPrintPreviewDisabled, |
| 124 base::Value::TYPE_BOOLEAN }, | 124 base::Value::TYPE_BOOLEAN }, |
| 125 { key::kDefaultPrinterSelection, |
| 126 prefs::kPrintPreviewDefaultDestinationSelectionRules, |
| 127 base::Value::TYPE_STRING }, |
| 125 { key::kMetricsReportingEnabled, | 128 { key::kMetricsReportingEnabled, |
| 126 metrics::prefs::kMetricsReportingEnabled, | 129 metrics::prefs::kMetricsReportingEnabled, |
| 127 base::Value::TYPE_BOOLEAN }, | 130 base::Value::TYPE_BOOLEAN }, |
| 128 { key::kApplicationLocaleValue, | 131 { key::kApplicationLocaleValue, |
| 129 prefs::kApplicationLocale, | 132 prefs::kApplicationLocale, |
| 130 base::Value::TYPE_STRING }, | 133 base::Value::TYPE_STRING }, |
| 131 { key::kDisabledPlugins, | 134 { key::kDisabledPlugins, |
| 132 prefs::kPluginsDisabledPlugins, | 135 prefs::kPluginsDisabledPlugins, |
| 133 base::Value::TYPE_LIST }, | 136 base::Value::TYPE_LIST }, |
| 134 { key::kDisabledPluginsExceptions, | 137 { key::kDisabledPluginsExceptions, |
| (...skipping 661 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 796 SimpleSchemaValidatingPolicyHandler::RECOMMENDED_ALLOWED, | 799 SimpleSchemaValidatingPolicyHandler::RECOMMENDED_ALLOWED, |
| 797 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED))); | 800 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED))); |
| 798 handlers->AddHandler(make_scoped_ptr( | 801 handlers->AddHandler(make_scoped_ptr( |
| 799 new chromeos::KeyPermissionsPolicyHandler(chrome_schema))); | 802 new chromeos::KeyPermissionsPolicyHandler(chrome_schema))); |
| 800 #endif // defined(OS_CHROMEOS) | 803 #endif // defined(OS_CHROMEOS) |
| 801 | 804 |
| 802 return handlers.Pass(); | 805 return handlers.Pass(); |
| 803 } | 806 } |
| 804 | 807 |
| 805 } // namespace policy | 808 } // namespace policy |
| OLD | NEW |