| 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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 136 { key::kSafeBrowsingEnabled, | 136 { key::kSafeBrowsingEnabled, |
| 137 prefs::kSafeBrowsingEnabled, | 137 prefs::kSafeBrowsingEnabled, |
| 138 base::Value::Type::BOOLEAN }, | 138 base::Value::Type::BOOLEAN }, |
| 139 { key::kForceGoogleSafeSearch, | 139 { key::kForceGoogleSafeSearch, |
| 140 prefs::kForceGoogleSafeSearch, | 140 prefs::kForceGoogleSafeSearch, |
| 141 base::Value::Type::BOOLEAN }, | 141 base::Value::Type::BOOLEAN }, |
| 142 { key::kForceYouTubeRestrict, | 142 { key::kForceYouTubeRestrict, |
| 143 prefs::kForceYouTubeRestrict, | 143 prefs::kForceYouTubeRestrict, |
| 144 base::Value::Type::INTEGER}, | 144 base::Value::Type::INTEGER}, |
| 145 { key::kPasswordManagerEnabled, | 145 { key::kPasswordManagerEnabled, |
| 146 password_manager::prefs::kPasswordManagerSavingEnabled, | 146 password_manager::prefs::kCredentialsEnableService, |
| 147 base::Value::Type::BOOLEAN }, | 147 base::Value::Type::BOOLEAN }, |
| 148 { key::kPrintingEnabled, | 148 { key::kPrintingEnabled, |
| 149 prefs::kPrintingEnabled, | 149 prefs::kPrintingEnabled, |
| 150 base::Value::Type::BOOLEAN }, | 150 base::Value::Type::BOOLEAN }, |
| 151 { key::kDisablePrintPreview, | 151 { key::kDisablePrintPreview, |
| 152 prefs::kPrintPreviewDisabled, | 152 prefs::kPrintPreviewDisabled, |
| 153 base::Value::Type::BOOLEAN }, | 153 base::Value::Type::BOOLEAN }, |
| 154 { key::kDefaultPrinterSelection, | 154 { key::kDefaultPrinterSelection, |
| 155 prefs::kPrintPreviewDefaultDestinationSelectionRules, | 155 prefs::kPrintPreviewDefaultDestinationSelectionRules, |
| 156 base::Value::Type::STRING }, | 156 base::Value::Type::STRING }, |
| (...skipping 852 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1009 #endif // defined(OS_CHROMEOS) | 1009 #endif // defined(OS_CHROMEOS) |
| 1010 | 1010 |
| 1011 #if BUILDFLAG(ENABLE_PLUGINS) | 1011 #if BUILDFLAG(ENABLE_PLUGINS) |
| 1012 handlers->AddHandler(base::MakeUnique<PluginPolicyHandler>()); | 1012 handlers->AddHandler(base::MakeUnique<PluginPolicyHandler>()); |
| 1013 #endif // BUILDFLAG(ENABLE_PLUGINS) | 1013 #endif // BUILDFLAG(ENABLE_PLUGINS) |
| 1014 | 1014 |
| 1015 return handlers; | 1015 return handlers; |
| 1016 } | 1016 } |
| 1017 | 1017 |
| 1018 } // namespace policy | 1018 } // namespace policy |
| OLD | NEW |