| 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 560 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 571 base::Value::Type::BOOLEAN }, | 571 base::Value::Type::BOOLEAN }, |
| 572 { key::kArcLocationServiceEnabled, | 572 { key::kArcLocationServiceEnabled, |
| 573 prefs::kArcLocationServiceEnabled, | 573 prefs::kArcLocationServiceEnabled, |
| 574 base::Value::Type::BOOLEAN }, | 574 base::Value::Type::BOOLEAN }, |
| 575 { key::kReportArcStatusEnabled, | 575 { key::kReportArcStatusEnabled, |
| 576 prefs::kReportArcStatusEnabled, | 576 prefs::kReportArcStatusEnabled, |
| 577 base::Value::Type::BOOLEAN }, | 577 base::Value::Type::BOOLEAN }, |
| 578 { key::kNativePrinters, | 578 { key::kNativePrinters, |
| 579 prefs::kRecommendedNativePrinters, | 579 prefs::kRecommendedNativePrinters, |
| 580 base::Value::Type::LIST }, | 580 base::Value::Type::LIST }, |
| 581 { key::kDeviceEcryptfsMigrationStrategy, |
| 582 prefs::kDeviceEcryptfsMigrationStrategy, |
| 583 base::Value::Type::INTEGER }, |
| 581 #endif // defined(OS_CHROMEOS) | 584 #endif // defined(OS_CHROMEOS) |
| 582 | 585 |
| 583 // Metrics reporting is controlled by a platform specific policy for ChromeOS | 586 // Metrics reporting is controlled by a platform specific policy for ChromeOS |
| 584 #if defined(OS_CHROMEOS) | 587 #if defined(OS_CHROMEOS) |
| 585 { key::kDeviceMetricsReportingEnabled, | 588 { key::kDeviceMetricsReportingEnabled, |
| 586 metrics::prefs::kMetricsReportingEnabled, | 589 metrics::prefs::kMetricsReportingEnabled, |
| 587 base::Value::Type::BOOLEAN }, | 590 base::Value::Type::BOOLEAN }, |
| 588 #else | 591 #else |
| 589 { key::kMetricsReportingEnabled, | 592 { key::kMetricsReportingEnabled, |
| 590 metrics::prefs::kMetricsReportingEnabled, | 593 metrics::prefs::kMetricsReportingEnabled, |
| (...skipping 450 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1041 #endif // defined(OS_CHROMEOS) | 1044 #endif // defined(OS_CHROMEOS) |
| 1042 | 1045 |
| 1043 #if BUILDFLAG(ENABLE_PLUGINS) | 1046 #if BUILDFLAG(ENABLE_PLUGINS) |
| 1044 handlers->AddHandler(base::MakeUnique<PluginPolicyHandler>()); | 1047 handlers->AddHandler(base::MakeUnique<PluginPolicyHandler>()); |
| 1045 #endif // BUILDFLAG(ENABLE_PLUGINS) | 1048 #endif // BUILDFLAG(ENABLE_PLUGINS) |
| 1046 | 1049 |
| 1047 return handlers; | 1050 return handlers; |
| 1048 } | 1051 } |
| 1049 | 1052 |
| 1050 } // namespace policy | 1053 } // namespace policy |
| OLD | NEW |