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 #include <utility> | 9 #include <utility> |
10 | 10 |
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
163 base::Value::TYPE_INTEGER }, | 163 base::Value::TYPE_INTEGER }, |
164 { key::kDefaultImagesSetting, | 164 { key::kDefaultImagesSetting, |
165 prefs::kManagedDefaultImagesSetting, | 165 prefs::kManagedDefaultImagesSetting, |
166 base::Value::TYPE_INTEGER }, | 166 base::Value::TYPE_INTEGER }, |
167 { key::kDefaultPluginsSetting, | 167 { key::kDefaultPluginsSetting, |
168 prefs::kManagedDefaultPluginsSetting, | 168 prefs::kManagedDefaultPluginsSetting, |
169 base::Value::TYPE_INTEGER }, | 169 base::Value::TYPE_INTEGER }, |
170 { key::kDefaultPopupsSetting, | 170 { key::kDefaultPopupsSetting, |
171 prefs::kManagedDefaultPopupsSetting, | 171 prefs::kManagedDefaultPopupsSetting, |
172 base::Value::TYPE_INTEGER }, | 172 base::Value::TYPE_INTEGER }, |
| 173 { key::kDefaultKeygenSetting, |
| 174 prefs::kManagedDefaultKeygenSetting, |
| 175 base::Value::TYPE_INTEGER }, |
173 { key::kAutoSelectCertificateForUrls, | 176 { key::kAutoSelectCertificateForUrls, |
174 prefs::kManagedAutoSelectCertificateForUrls, | 177 prefs::kManagedAutoSelectCertificateForUrls, |
175 base::Value::TYPE_LIST }, | 178 base::Value::TYPE_LIST }, |
176 { key::kCookiesAllowedForUrls, | 179 { key::kCookiesAllowedForUrls, |
177 prefs::kManagedCookiesAllowedForUrls, | 180 prefs::kManagedCookiesAllowedForUrls, |
178 base::Value::TYPE_LIST }, | 181 base::Value::TYPE_LIST }, |
179 { key::kCookiesBlockedForUrls, | 182 { key::kCookiesBlockedForUrls, |
180 prefs::kManagedCookiesBlockedForUrls, | 183 prefs::kManagedCookiesBlockedForUrls, |
181 base::Value::TYPE_LIST }, | 184 base::Value::TYPE_LIST }, |
182 { key::kCookiesSessionOnlyForUrls, | 185 { key::kCookiesSessionOnlyForUrls, |
(...skipping 16 matching lines...) Expand all Loading... |
199 base::Value::TYPE_LIST }, | 202 base::Value::TYPE_LIST }, |
200 { key::kPluginsBlockedForUrls, | 203 { key::kPluginsBlockedForUrls, |
201 prefs::kManagedPluginsBlockedForUrls, | 204 prefs::kManagedPluginsBlockedForUrls, |
202 base::Value::TYPE_LIST }, | 205 base::Value::TYPE_LIST }, |
203 { key::kPopupsAllowedForUrls, | 206 { key::kPopupsAllowedForUrls, |
204 prefs::kManagedPopupsAllowedForUrls, | 207 prefs::kManagedPopupsAllowedForUrls, |
205 base::Value::TYPE_LIST }, | 208 base::Value::TYPE_LIST }, |
206 { key::kPopupsBlockedForUrls, | 209 { key::kPopupsBlockedForUrls, |
207 prefs::kManagedPopupsBlockedForUrls, | 210 prefs::kManagedPopupsBlockedForUrls, |
208 base::Value::TYPE_LIST }, | 211 base::Value::TYPE_LIST }, |
| 212 { key::kKeygenAllowedForUrls, |
| 213 prefs::kManagedKeygenAllowedForUrls, |
| 214 base::Value::TYPE_LIST }, |
| 215 { key::kKeygenBlockedForUrls, |
| 216 prefs::kManagedKeygenBlockedForUrls, |
| 217 base::Value::TYPE_LIST }, |
209 { key::kNotificationsAllowedForUrls, | 218 { key::kNotificationsAllowedForUrls, |
210 prefs::kManagedNotificationsAllowedForUrls, | 219 prefs::kManagedNotificationsAllowedForUrls, |
211 base::Value::TYPE_LIST }, | 220 base::Value::TYPE_LIST }, |
212 { key::kNotificationsBlockedForUrls, | 221 { key::kNotificationsBlockedForUrls, |
213 prefs::kManagedNotificationsBlockedForUrls, | 222 prefs::kManagedNotificationsBlockedForUrls, |
214 base::Value::TYPE_LIST }, | 223 base::Value::TYPE_LIST }, |
215 { key::kDefaultNotificationsSetting, | 224 { key::kDefaultNotificationsSetting, |
216 prefs::kManagedDefaultNotificationsSetting, | 225 prefs::kManagedDefaultNotificationsSetting, |
217 base::Value::TYPE_INTEGER }, | 226 base::Value::TYPE_INTEGER }, |
218 { key::kDefaultGeolocationSetting, | 227 { key::kDefaultGeolocationSetting, |
(...skipping 600 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
819 SimpleSchemaValidatingPolicyHandler::RECOMMENDED_ALLOWED, | 828 SimpleSchemaValidatingPolicyHandler::RECOMMENDED_ALLOWED, |
820 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED))); | 829 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED))); |
821 handlers->AddHandler(make_scoped_ptr( | 830 handlers->AddHandler(make_scoped_ptr( |
822 new chromeos::KeyPermissionsPolicyHandler(chrome_schema))); | 831 new chromeos::KeyPermissionsPolicyHandler(chrome_schema))); |
823 #endif // defined(OS_CHROMEOS) | 832 #endif // defined(OS_CHROMEOS) |
824 | 833 |
825 return handlers; | 834 return handlers; |
826 } | 835 } |
827 | 836 |
828 } // namespace policy | 837 } // namespace policy |
OLD | NEW |