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 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
149 base::Value::Type::BOOLEAN }, | 149 base::Value::Type::BOOLEAN }, |
150 { key::kPrintingEnabled, | 150 { key::kPrintingEnabled, |
151 prefs::kPrintingEnabled, | 151 prefs::kPrintingEnabled, |
152 base::Value::Type::BOOLEAN }, | 152 base::Value::Type::BOOLEAN }, |
153 { key::kDisablePrintPreview, | 153 { key::kDisablePrintPreview, |
154 prefs::kPrintPreviewDisabled, | 154 prefs::kPrintPreviewDisabled, |
155 base::Value::Type::BOOLEAN }, | 155 base::Value::Type::BOOLEAN }, |
156 { key::kDefaultPrinterSelection, | 156 { key::kDefaultPrinterSelection, |
157 prefs::kPrintPreviewDefaultDestinationSelectionRules, | 157 prefs::kPrintPreviewDefaultDestinationSelectionRules, |
158 base::Value::Type::STRING }, | 158 base::Value::Type::STRING }, |
| 159 { key::kUseSystemDefaultPrinterAsDefault, |
| 160 prefs::kUseSystemDefaultPrinterAsDefault, |
| 161 base::Value::Type::BOOLEAN}, |
159 { key::kApplicationLocaleValue, | 162 { key::kApplicationLocaleValue, |
160 prefs::kApplicationLocale, | 163 prefs::kApplicationLocale, |
161 base::Value::Type::STRING }, | 164 base::Value::Type::STRING }, |
162 { key::kAlwaysOpenPdfExternally, | 165 { key::kAlwaysOpenPdfExternally, |
163 prefs::kPluginsAlwaysOpenPdfExternally, | 166 prefs::kPluginsAlwaysOpenPdfExternally, |
164 base::Value::Type::BOOLEAN }, | 167 base::Value::Type::BOOLEAN }, |
165 { key::kShowHomeButton, | 168 { key::kShowHomeButton, |
166 prefs::kShowHomeButton, | 169 prefs::kShowHomeButton, |
167 base::Value::Type::BOOLEAN }, | 170 base::Value::Type::BOOLEAN }, |
168 { key::kSavingBrowserHistoryDisabled, | 171 { key::kSavingBrowserHistoryDisabled, |
(...skipping 872 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1041 #endif // defined(OS_CHROMEOS) | 1044 #endif // defined(OS_CHROMEOS) |
1042 | 1045 |
1043 #if BUILDFLAG(ENABLE_PLUGINS) | 1046 #if BUILDFLAG(ENABLE_PLUGINS) |
1044 handlers->AddHandler(base::MakeUnique<PluginPolicyHandler>()); | 1047 handlers->AddHandler(base::MakeUnique<PluginPolicyHandler>()); |
1045 #endif // BUILDFLAG(ENABLE_PLUGINS) | 1048 #endif // BUILDFLAG(ENABLE_PLUGINS) |
1046 | 1049 |
1047 return handlers; | 1050 return handlers; |
1048 } | 1051 } |
1049 | 1052 |
1050 } // namespace policy | 1053 } // namespace policy |
OLD | NEW |