| 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 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 139 base::Value::TYPE_STRING }, | 139 base::Value::TYPE_STRING }, |
| 140 { key::kDisabledPlugins, | 140 { key::kDisabledPlugins, |
| 141 prefs::kPluginsDisabledPlugins, | 141 prefs::kPluginsDisabledPlugins, |
| 142 base::Value::TYPE_LIST }, | 142 base::Value::TYPE_LIST }, |
| 143 { key::kDisabledPluginsExceptions, | 143 { key::kDisabledPluginsExceptions, |
| 144 prefs::kPluginsDisabledPluginsExceptions, | 144 prefs::kPluginsDisabledPluginsExceptions, |
| 145 base::Value::TYPE_LIST }, | 145 base::Value::TYPE_LIST }, |
| 146 { key::kEnabledPlugins, | 146 { key::kEnabledPlugins, |
| 147 prefs::kPluginsEnabledPlugins, | 147 prefs::kPluginsEnabledPlugins, |
| 148 base::Value::TYPE_LIST }, | 148 base::Value::TYPE_LIST }, |
| 149 { key::kAlwaysOpenPdfExternally, |
| 150 prefs::kPluginsAlwaysOpenPdfExternally, |
| 151 base::Value::TYPE_BOOLEAN }, |
| 149 { key::kShowHomeButton, | 152 { key::kShowHomeButton, |
| 150 prefs::kShowHomeButton, | 153 prefs::kShowHomeButton, |
| 151 base::Value::TYPE_BOOLEAN }, | 154 base::Value::TYPE_BOOLEAN }, |
| 152 { key::kSavingBrowserHistoryDisabled, | 155 { key::kSavingBrowserHistoryDisabled, |
| 153 prefs::kSavingBrowserHistoryDisabled, | 156 prefs::kSavingBrowserHistoryDisabled, |
| 154 base::Value::TYPE_BOOLEAN }, | 157 base::Value::TYPE_BOOLEAN }, |
| 155 { key::kAllowDeletingBrowserHistory, | 158 { key::kAllowDeletingBrowserHistory, |
| 156 prefs::kAllowDeletingBrowserHistory, | 159 prefs::kAllowDeletingBrowserHistory, |
| 157 base::Value::TYPE_BOOLEAN }, | 160 base::Value::TYPE_BOOLEAN }, |
| 158 { key::kDeveloperToolsDisabled, | 161 { key::kDeveloperToolsDisabled, |
| (...skipping 722 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 881 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED))); | 884 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED))); |
| 882 handlers->AddHandler( | 885 handlers->AddHandler( |
| 883 base::MakeUnique<chromeos::KeyPermissionsPolicyHandler>(chrome_schema)); | 886 base::MakeUnique<chromeos::KeyPermissionsPolicyHandler>(chrome_schema)); |
| 884 handlers->AddHandler(base::WrapUnique(new DefaultGeolocationPolicyHandler())); | 887 handlers->AddHandler(base::WrapUnique(new DefaultGeolocationPolicyHandler())); |
| 885 #endif // defined(OS_CHROMEOS) | 888 #endif // defined(OS_CHROMEOS) |
| 886 | 889 |
| 887 return handlers; | 890 return handlers; |
| 888 } | 891 } |
| 889 | 892 |
| 890 } // namespace policy | 893 } // namespace policy |
| OLD | NEW |