| 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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 { key::kSafeBrowsingEnabled, | 132 { key::kSafeBrowsingEnabled, |
| 133 prefs::kSafeBrowsingEnabled, | 133 prefs::kSafeBrowsingEnabled, |
| 134 base::Value::Type::BOOLEAN }, | 134 base::Value::Type::BOOLEAN }, |
| 135 { key::kForceGoogleSafeSearch, | 135 { key::kForceGoogleSafeSearch, |
| 136 prefs::kForceGoogleSafeSearch, | 136 prefs::kForceGoogleSafeSearch, |
| 137 base::Value::Type::BOOLEAN }, | 137 base::Value::Type::BOOLEAN }, |
| 138 { key::kForceYouTubeRestrict, | 138 { key::kForceYouTubeRestrict, |
| 139 prefs::kForceYouTubeRestrict, | 139 prefs::kForceYouTubeRestrict, |
| 140 base::Value::Type::INTEGER}, | 140 base::Value::Type::INTEGER}, |
| 141 { key::kPasswordManagerEnabled, | 141 { key::kPasswordManagerEnabled, |
| 142 password_manager::prefs::kPasswordManagerSavingEnabled, | 142 password_manager::prefs::kCredentialsEnableService, |
| 143 base::Value::Type::BOOLEAN }, | 143 base::Value::Type::BOOLEAN }, |
| 144 { key::kPrintingEnabled, | 144 { key::kPrintingEnabled, |
| 145 prefs::kPrintingEnabled, | 145 prefs::kPrintingEnabled, |
| 146 base::Value::Type::BOOLEAN }, | 146 base::Value::Type::BOOLEAN }, |
| 147 { key::kDisablePrintPreview, | 147 { key::kDisablePrintPreview, |
| 148 prefs::kPrintPreviewDisabled, | 148 prefs::kPrintPreviewDisabled, |
| 149 base::Value::Type::BOOLEAN }, | 149 base::Value::Type::BOOLEAN }, |
| 150 { key::kDefaultPrinterSelection, | 150 { key::kDefaultPrinterSelection, |
| 151 prefs::kPrintPreviewDefaultDestinationSelectionRules, | 151 prefs::kPrintPreviewDefaultDestinationSelectionRules, |
| 152 base::Value::Type::STRING }, | 152 base::Value::Type::STRING }, |
| (...skipping 847 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1000 #endif // defined(OS_CHROMEOS) | 1000 #endif // defined(OS_CHROMEOS) |
| 1001 | 1001 |
| 1002 #if BUILDFLAG(ENABLE_PLUGINS) | 1002 #if BUILDFLAG(ENABLE_PLUGINS) |
| 1003 handlers->AddHandler(base::MakeUnique<PluginPolicyHandler>()); | 1003 handlers->AddHandler(base::MakeUnique<PluginPolicyHandler>()); |
| 1004 #endif // BUILDFLAG(ENABLE_PLUGINS) | 1004 #endif // BUILDFLAG(ENABLE_PLUGINS) |
| 1005 | 1005 |
| 1006 return handlers; | 1006 return handlers; |
| 1007 } | 1007 } |
| 1008 | 1008 |
| 1009 } // namespace policy | 1009 } // namespace policy |
| OLD | NEW |