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