| 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 "base/basictypes.h" | 7 #include "base/basictypes.h" |
| 8 #include "base/bind.h" | 8 #include "base/bind.h" |
| 9 #include "base/memory/scoped_vector.h" | 9 #include "base/memory/scoped_vector.h" |
| 10 #include "base/values.h" | 10 #include "base/values.h" |
| (...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 253 base::Value::TYPE_INTEGER }, | 253 base::Value::TYPE_INTEGER }, |
| 254 { key::kPolicyRefreshRate, | 254 { key::kPolicyRefreshRate, |
| 255 policy_prefs::kUserPolicyRefreshRate, | 255 policy_prefs::kUserPolicyRefreshRate, |
| 256 base::Value::TYPE_INTEGER }, | 256 base::Value::TYPE_INTEGER }, |
| 257 { key::kDevicePolicyRefreshRate, | 257 { key::kDevicePolicyRefreshRate, |
| 258 prefs::kDevicePolicyRefreshRate, | 258 prefs::kDevicePolicyRefreshRate, |
| 259 base::Value::TYPE_INTEGER }, | 259 base::Value::TYPE_INTEGER }, |
| 260 { key::kDefaultBrowserSettingEnabled, | 260 { key::kDefaultBrowserSettingEnabled, |
| 261 prefs::kDefaultBrowserSettingEnabled, | 261 prefs::kDefaultBrowserSettingEnabled, |
| 262 base::Value::TYPE_BOOLEAN }, | 262 base::Value::TYPE_BOOLEAN }, |
| 263 { key::kRemoteAccessHostFirewallTraversal, | |
| 264 prefs::kRemoteAccessHostFirewallTraversal, | |
| 265 base::Value::TYPE_BOOLEAN }, | |
| 266 { key::kRemoteAccessHostRequireTwoFactor, | |
| 267 prefs::kRemoteAccessHostRequireTwoFactor, | |
| 268 base::Value::TYPE_BOOLEAN }, | |
| 269 { key::kRemoteAccessHostDomain, | |
| 270 prefs::kRemoteAccessHostDomain, | |
| 271 base::Value::TYPE_STRING }, | |
| 272 { key::kRemoteAccessHostTalkGadgetPrefix, | |
| 273 prefs::kRemoteAccessHostTalkGadgetPrefix, | |
| 274 base::Value::TYPE_STRING }, | |
| 275 { key::kRemoteAccessHostRequireCurtain, | |
| 276 prefs::kRemoteAccessHostRequireCurtain, | |
| 277 base::Value::TYPE_BOOLEAN }, | |
| 278 { key::kRemoteAccessHostAllowClientPairing, | |
| 279 prefs::kRemoteAccessHostAllowClientPairing, | |
| 280 base::Value::TYPE_BOOLEAN }, | |
| 281 { key::kRemoteAccessHostAllowGnubbyAuth, | |
| 282 prefs::kRemoteAccessHostAllowGnubbyAuth, | |
| 283 base::Value::TYPE_BOOLEAN }, | |
| 284 { key::kRemoteAccessHostAllowRelayedConnection, | |
| 285 prefs::kRemoteAccessHostAllowRelayedConnection, | |
| 286 base::Value::TYPE_BOOLEAN }, | |
| 287 { key::kRemoteAccessHostUdpPortRange, | |
| 288 prefs::kRemoteAccessHostUdpPortRange, | |
| 289 base::Value::TYPE_STRING }, | |
| 290 { key::kCloudPrintProxyEnabled, | 263 { key::kCloudPrintProxyEnabled, |
| 291 prefs::kCloudPrintProxyEnabled, | 264 prefs::kCloudPrintProxyEnabled, |
| 292 base::Value::TYPE_BOOLEAN }, | 265 base::Value::TYPE_BOOLEAN }, |
| 293 { key::kCloudPrintSubmitEnabled, | 266 { key::kCloudPrintSubmitEnabled, |
| 294 prefs::kCloudPrintSubmitEnabled, | 267 prefs::kCloudPrintSubmitEnabled, |
| 295 base::Value::TYPE_BOOLEAN }, | 268 base::Value::TYPE_BOOLEAN }, |
| 296 { key::kTranslateEnabled, | 269 { key::kTranslateEnabled, |
| 297 prefs::kEnableTranslate, | 270 prefs::kEnableTranslate, |
| 298 base::Value::TYPE_BOOLEAN }, | 271 base::Value::TYPE_BOOLEAN }, |
| 299 { key::kAllowOutdatedPlugins, | 272 { key::kAllowOutdatedPlugins, |
| (...skipping 519 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 819 chrome_schema, | 792 chrome_schema, |
| 820 SCHEMA_STRICT, | 793 SCHEMA_STRICT, |
| 821 SimpleSchemaValidatingPolicyHandler::RECOMMENDED_ALLOWED, | 794 SimpleSchemaValidatingPolicyHandler::RECOMMENDED_ALLOWED, |
| 822 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED))); | 795 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED))); |
| 823 #endif // defined(OS_CHROMEOS) | 796 #endif // defined(OS_CHROMEOS) |
| 824 | 797 |
| 825 return handlers.Pass(); | 798 return handlers.Pass(); |
| 826 } | 799 } |
| 827 | 800 |
| 828 } // namespace policy | 801 } // namespace policy |
| OLD | NEW |