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 484 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
495 base::Value::TYPE_BOOLEAN }, | 495 base::Value::TYPE_BOOLEAN }, |
496 { key::kCaptivePortalAuthenticationIgnoresProxy, | 496 { key::kCaptivePortalAuthenticationIgnoresProxy, |
497 prefs::kCaptivePortalAuthenticationIgnoresProxy, | 497 prefs::kCaptivePortalAuthenticationIgnoresProxy, |
498 base::Value::TYPE_BOOLEAN }, | 498 base::Value::TYPE_BOOLEAN }, |
499 { key::kForceMaximizeOnFirstRun, | 499 { key::kForceMaximizeOnFirstRun, |
500 prefs::kForceMaximizeOnFirstRun, | 500 prefs::kForceMaximizeOnFirstRun, |
501 base::Value::TYPE_BOOLEAN }, | 501 base::Value::TYPE_BOOLEAN }, |
502 { key::kUnifiedDesktopEnabledByDefault, | 502 { key::kUnifiedDesktopEnabledByDefault, |
503 prefs::kUnifiedDesktopEnabledByDefault, | 503 prefs::kUnifiedDesktopEnabledByDefault, |
504 base::Value::TYPE_BOOLEAN }, | 504 base::Value::TYPE_BOOLEAN }, |
| 505 { key::kArcEnabled, |
| 506 prefs::kArcEnabled, |
| 507 base::Value::TYPE_BOOLEAN }, |
505 #endif // defined(OS_CHROMEOS) | 508 #endif // defined(OS_CHROMEOS) |
506 | 509 |
507 // Metrics reporting is controlled by a platform specific policy for ChromeOS | 510 // Metrics reporting is controlled by a platform specific policy for ChromeOS |
508 #if defined(OS_CHROMEOS) | 511 #if defined(OS_CHROMEOS) |
509 { key::kDeviceMetricsReportingEnabled, | 512 { key::kDeviceMetricsReportingEnabled, |
510 metrics::prefs::kMetricsReportingEnabled, | 513 metrics::prefs::kMetricsReportingEnabled, |
511 base::Value::TYPE_BOOLEAN }, | 514 base::Value::TYPE_BOOLEAN }, |
512 #else | 515 #else |
513 { key::kMetricsReportingEnabled, | 516 { key::kMetricsReportingEnabled, |
514 metrics::prefs::kMetricsReportingEnabled, | 517 metrics::prefs::kMetricsReportingEnabled, |
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
830 SimpleSchemaValidatingPolicyHandler::RECOMMENDED_ALLOWED, | 833 SimpleSchemaValidatingPolicyHandler::RECOMMENDED_ALLOWED, |
831 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED))); | 834 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED))); |
832 handlers->AddHandler(make_scoped_ptr( | 835 handlers->AddHandler(make_scoped_ptr( |
833 new chromeos::KeyPermissionsPolicyHandler(chrome_schema))); | 836 new chromeos::KeyPermissionsPolicyHandler(chrome_schema))); |
834 #endif // defined(OS_CHROMEOS) | 837 #endif // defined(OS_CHROMEOS) |
835 | 838 |
836 return handlers; | 839 return handlers; |
837 } | 840 } |
838 | 841 |
839 } // namespace policy | 842 } // namespace policy |
OLD | NEW |