| 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 "base/basictypes.h" | 7 #include "base/basictypes.h" |
| 8 #include "base/bind.h" | 8 #include "base/bind.h" |
| 9 #include "base/memory/scoped_vector.h" | 9 #include "base/memory/scoped_vector.h" |
| 10 #include "base/values.h" | 10 #include "base/values.h" |
| (...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 329 base::Value::TYPE_LIST }, | 329 base::Value::TYPE_LIST }, |
| 330 { key::kRestrictSigninToPattern, | 330 { key::kRestrictSigninToPattern, |
| 331 prefs::kGoogleServicesUsernamePattern, | 331 prefs::kGoogleServicesUsernamePattern, |
| 332 base::Value::TYPE_STRING }, | 332 base::Value::TYPE_STRING }, |
| 333 { key::kDefaultMediaStreamSetting, | 333 { key::kDefaultMediaStreamSetting, |
| 334 prefs::kManagedDefaultMediaStreamSetting, | 334 prefs::kManagedDefaultMediaStreamSetting, |
| 335 base::Value::TYPE_INTEGER }, | 335 base::Value::TYPE_INTEGER }, |
| 336 { key::kDisableSafeBrowsingProceedAnyway, | 336 { key::kDisableSafeBrowsingProceedAnyway, |
| 337 prefs::kSafeBrowsingProceedAnywayDisabled, | 337 prefs::kSafeBrowsingProceedAnywayDisabled, |
| 338 base::Value::TYPE_BOOLEAN }, | 338 base::Value::TYPE_BOOLEAN }, |
| 339 |
| 340 #if defined(ENABLE_SPELLCHECK) |
| 339 { key::kSpellCheckServiceEnabled, | 341 { key::kSpellCheckServiceEnabled, |
| 340 prefs::kSpellCheckUseSpellingService, | 342 prefs::kSpellCheckUseSpellingService, |
| 341 base::Value::TYPE_BOOLEAN }, | 343 base::Value::TYPE_BOOLEAN }, |
| 344 #endif // defined(ENABLE_SPELLCHECK) |
| 345 |
| 342 { key::kDisableScreenshots, | 346 { key::kDisableScreenshots, |
| 343 prefs::kDisableScreenshots, | 347 prefs::kDisableScreenshots, |
| 344 base::Value::TYPE_BOOLEAN }, | 348 base::Value::TYPE_BOOLEAN }, |
| 345 { key::kAudioCaptureAllowed, | 349 { key::kAudioCaptureAllowed, |
| 346 prefs::kAudioCaptureAllowed, | 350 prefs::kAudioCaptureAllowed, |
| 347 base::Value::TYPE_BOOLEAN }, | 351 base::Value::TYPE_BOOLEAN }, |
| 348 { key::kVideoCaptureAllowed, | 352 { key::kVideoCaptureAllowed, |
| 349 prefs::kVideoCaptureAllowed, | 353 prefs::kVideoCaptureAllowed, |
| 350 base::Value::TYPE_BOOLEAN }, | 354 base::Value::TYPE_BOOLEAN }, |
| 351 { key::kAudioCaptureAllowedUrls, | 355 { key::kAudioCaptureAllowedUrls, |
| (...skipping 447 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 799 chrome_schema, | 803 chrome_schema, |
| 800 SCHEMA_STRICT, | 804 SCHEMA_STRICT, |
| 801 SimpleSchemaValidatingPolicyHandler::RECOMMENDED_ALLOWED, | 805 SimpleSchemaValidatingPolicyHandler::RECOMMENDED_ALLOWED, |
| 802 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED))); | 806 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED))); |
| 803 #endif // defined(OS_CHROMEOS) | 807 #endif // defined(OS_CHROMEOS) |
| 804 | 808 |
| 805 return handlers.Pass(); | 809 return handlers.Pass(); |
| 806 } | 810 } |
| 807 | 811 |
| 808 } // namespace policy | 812 } // namespace policy |
| OLD | NEW |