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 311 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
322 base::Value::TYPE_BOOLEAN }, | 322 base::Value::TYPE_BOOLEAN }, |
323 { key::kMaxConnectionsPerProxy, | 323 { key::kMaxConnectionsPerProxy, |
324 prefs::kMaxConnectionsPerProxy, | 324 prefs::kMaxConnectionsPerProxy, |
325 base::Value::TYPE_INTEGER }, | 325 base::Value::TYPE_INTEGER }, |
326 { key::kURLWhitelist, | 326 { key::kURLWhitelist, |
327 policy_prefs::kUrlWhitelist, | 327 policy_prefs::kUrlWhitelist, |
328 base::Value::TYPE_LIST }, | 328 base::Value::TYPE_LIST }, |
329 { key::kRestrictSigninToPattern, | 329 { key::kRestrictSigninToPattern, |
330 prefs::kGoogleServicesUsernamePattern, | 330 prefs::kGoogleServicesUsernamePattern, |
331 base::Value::TYPE_STRING }, | 331 base::Value::TYPE_STRING }, |
| 332 { key::kDefaultWebBluetoothGuardSetting, |
| 333 prefs::kManagedDefaultWebBluetoothGuardSetting, |
| 334 base::Value::TYPE_INTEGER }, |
332 { key::kDefaultMediaStreamSetting, | 335 { key::kDefaultMediaStreamSetting, |
333 prefs::kManagedDefaultMediaStreamSetting, | 336 prefs::kManagedDefaultMediaStreamSetting, |
334 base::Value::TYPE_INTEGER }, | 337 base::Value::TYPE_INTEGER }, |
335 { key::kDisableSafeBrowsingProceedAnyway, | 338 { key::kDisableSafeBrowsingProceedAnyway, |
336 prefs::kSafeBrowsingProceedAnywayDisabled, | 339 prefs::kSafeBrowsingProceedAnywayDisabled, |
337 base::Value::TYPE_BOOLEAN }, | 340 base::Value::TYPE_BOOLEAN }, |
338 { key::kSafeBrowsingExtendedReportingOptInAllowed, | 341 { key::kSafeBrowsingExtendedReportingOptInAllowed, |
339 prefs::kSafeBrowsingExtendedReportingOptInAllowed, | 342 prefs::kSafeBrowsingExtendedReportingOptInAllowed, |
340 base::Value::TYPE_BOOLEAN }, | 343 base::Value::TYPE_BOOLEAN }, |
341 { key::kSSLErrorOverrideAllowed, | 344 { key::kSSLErrorOverrideAllowed, |
(...skipping 479 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
821 SimpleSchemaValidatingPolicyHandler::RECOMMENDED_ALLOWED, | 824 SimpleSchemaValidatingPolicyHandler::RECOMMENDED_ALLOWED, |
822 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED))); | 825 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED))); |
823 handlers->AddHandler(make_scoped_ptr( | 826 handlers->AddHandler(make_scoped_ptr( |
824 new chromeos::KeyPermissionsPolicyHandler(chrome_schema))); | 827 new chromeos::KeyPermissionsPolicyHandler(chrome_schema))); |
825 #endif // defined(OS_CHROMEOS) | 828 #endif // defined(OS_CHROMEOS) |
826 | 829 |
827 return handlers; | 830 return handlers; |
828 } | 831 } |
829 | 832 |
830 } // namespace policy | 833 } // namespace policy |
OLD | NEW |