| 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 598 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 609 base::Value::Type::STRING }, | 609 base::Value::Type::STRING }, |
| 610 #endif // defined(OS_ANDROID) | 610 #endif // defined(OS_ANDROID) |
| 611 | 611 |
| 612 #if !defined(OS_CHROMEOS) && !defined(OS_ANDROID) | 612 #if !defined(OS_CHROMEOS) && !defined(OS_ANDROID) |
| 613 { key::kNativeMessagingUserLevelHosts, | 613 { key::kNativeMessagingUserLevelHosts, |
| 614 extensions::pref_names::kNativeMessagingUserLevelHosts, | 614 extensions::pref_names::kNativeMessagingUserLevelHosts, |
| 615 base::Value::Type::BOOLEAN }, | 615 base::Value::Type::BOOLEAN }, |
| 616 { key::kBrowserAddPersonEnabled, | 616 { key::kBrowserAddPersonEnabled, |
| 617 prefs::kBrowserAddPersonEnabled, | 617 prefs::kBrowserAddPersonEnabled, |
| 618 base::Value::Type::BOOLEAN }, | 618 base::Value::Type::BOOLEAN }, |
| 619 { key::kPrintPreviewUseSystemDefaultPrinter, |
| 620 prefs::kPrintPreviewUseSystemDefaultPrinter, |
| 621 base::Value::Type::BOOLEAN }, |
| 619 #endif // !defined(OS_CHROMEOS) && !defined(OS_ANDROID) | 622 #endif // !defined(OS_CHROMEOS) && !defined(OS_ANDROID) |
| 620 | 623 |
| 621 { key::kForceBrowserSignin, | 624 { key::kForceBrowserSignin, |
| 622 prefs::kForceBrowserSignin, | 625 prefs::kForceBrowserSignin, |
| 623 base::Value::Type::BOOLEAN }, | 626 base::Value::Type::BOOLEAN }, |
| 624 | 627 |
| 625 #if defined(OS_WIN) | 628 #if defined(OS_WIN) |
| 626 { key::kWelcomePageOnOSUpgradeEnabled, | 629 { key::kWelcomePageOnOSUpgradeEnabled, |
| 627 prefs::kWelcomePageOnOSUpgradeEnabled, | 630 prefs::kWelcomePageOnOSUpgradeEnabled, |
| 628 base::Value::Type::BOOLEAN }, | 631 base::Value::Type::BOOLEAN }, |
| (...skipping 415 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1044 #endif // defined(OS_CHROMEOS) | 1047 #endif // defined(OS_CHROMEOS) |
| 1045 | 1048 |
| 1046 #if BUILDFLAG(ENABLE_PLUGINS) | 1049 #if BUILDFLAG(ENABLE_PLUGINS) |
| 1047 handlers->AddHandler(base::MakeUnique<PluginPolicyHandler>()); | 1050 handlers->AddHandler(base::MakeUnique<PluginPolicyHandler>()); |
| 1048 #endif // BUILDFLAG(ENABLE_PLUGINS) | 1051 #endif // BUILDFLAG(ENABLE_PLUGINS) |
| 1049 | 1052 |
| 1050 return handlers; | 1053 return handlers; |
| 1051 } | 1054 } |
| 1052 | 1055 |
| 1053 } // namespace policy | 1056 } // namespace policy |
| OLD | NEW |