| 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 494 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 505 base::Value::TYPE_BOOLEAN }, | 505 base::Value::TYPE_BOOLEAN }, |
| 506 { key::kForceMaximizeOnFirstRun, | 506 { key::kForceMaximizeOnFirstRun, |
| 507 prefs::kForceMaximizeOnFirstRun, | 507 prefs::kForceMaximizeOnFirstRun, |
| 508 base::Value::TYPE_BOOLEAN }, | 508 base::Value::TYPE_BOOLEAN }, |
| 509 { key::kUnifiedDesktopEnabledByDefault, | 509 { key::kUnifiedDesktopEnabledByDefault, |
| 510 prefs::kUnifiedDesktopEnabledByDefault, | 510 prefs::kUnifiedDesktopEnabledByDefault, |
| 511 base::Value::TYPE_BOOLEAN }, | 511 base::Value::TYPE_BOOLEAN }, |
| 512 { key::kArcEnabled, | 512 { key::kArcEnabled, |
| 513 prefs::kArcEnabled, | 513 prefs::kArcEnabled, |
| 514 base::Value::TYPE_BOOLEAN }, | 514 base::Value::TYPE_BOOLEAN }, |
| 515 { key::kArcBackupRestoreEnabled, |
| 516 prefs::kArcBackupRestoreEnabled, |
| 517 base::Value::TYPE_BOOLEAN }, |
| 515 #endif // defined(OS_CHROMEOS) | 518 #endif // defined(OS_CHROMEOS) |
| 516 | 519 |
| 517 // Metrics reporting is controlled by a platform specific policy for ChromeOS | 520 // Metrics reporting is controlled by a platform specific policy for ChromeOS |
| 518 #if defined(OS_CHROMEOS) | 521 #if defined(OS_CHROMEOS) |
| 519 { key::kDeviceMetricsReportingEnabled, | 522 { key::kDeviceMetricsReportingEnabled, |
| 520 metrics::prefs::kMetricsReportingEnabled, | 523 metrics::prefs::kMetricsReportingEnabled, |
| 521 base::Value::TYPE_BOOLEAN }, | 524 base::Value::TYPE_BOOLEAN }, |
| 522 #else | 525 #else |
| 523 { key::kMetricsReportingEnabled, | 526 { key::kMetricsReportingEnabled, |
| 524 metrics::prefs::kMetricsReportingEnabled, | 527 metrics::prefs::kMetricsReportingEnabled, |
| (...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 859 SimpleSchemaValidatingPolicyHandler::RECOMMENDED_ALLOWED, | 862 SimpleSchemaValidatingPolicyHandler::RECOMMENDED_ALLOWED, |
| 860 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED))); | 863 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED))); |
| 861 handlers->AddHandler(base::WrapUnique( | 864 handlers->AddHandler(base::WrapUnique( |
| 862 new chromeos::KeyPermissionsPolicyHandler(chrome_schema))); | 865 new chromeos::KeyPermissionsPolicyHandler(chrome_schema))); |
| 863 #endif // defined(OS_CHROMEOS) | 866 #endif // defined(OS_CHROMEOS) |
| 864 | 867 |
| 865 return handlers; | 868 return handlers; |
| 866 } | 869 } |
| 867 | 870 |
| 868 } // namespace policy | 871 } // namespace policy |
| OLD | NEW |