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 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
271 base::Value::TYPE_STRING }, | 271 base::Value::TYPE_STRING }, |
272 { key::kRemoteAccessHostRequireCurtain, | 272 { key::kRemoteAccessHostRequireCurtain, |
273 prefs::kRemoteAccessHostRequireCurtain, | 273 prefs::kRemoteAccessHostRequireCurtain, |
274 base::Value::TYPE_BOOLEAN }, | 274 base::Value::TYPE_BOOLEAN }, |
275 { key::kRemoteAccessHostAllowClientPairing, | 275 { key::kRemoteAccessHostAllowClientPairing, |
276 prefs::kRemoteAccessHostAllowClientPairing, | 276 prefs::kRemoteAccessHostAllowClientPairing, |
277 base::Value::TYPE_BOOLEAN }, | 277 base::Value::TYPE_BOOLEAN }, |
278 { key::kRemoteAccessHostAllowGnubbyAuth, | 278 { key::kRemoteAccessHostAllowGnubbyAuth, |
279 prefs::kRemoteAccessHostAllowGnubbyAuth, | 279 prefs::kRemoteAccessHostAllowGnubbyAuth, |
280 base::Value::TYPE_BOOLEAN }, | 280 base::Value::TYPE_BOOLEAN }, |
| 281 { key::kRemoteAccessHostAllowRelayedConnection, |
| 282 prefs::kRemoteAccessHostAllowRelayedConnection, |
| 283 base::Value::TYPE_BOOLEAN }, |
| 284 { key::kRemoteAccessHostUdpPortRange, |
| 285 prefs::kRemoteAccessHostUdpPortRange, |
| 286 base::Value::TYPE_STRING }, |
281 { key::kCloudPrintProxyEnabled, | 287 { key::kCloudPrintProxyEnabled, |
282 prefs::kCloudPrintProxyEnabled, | 288 prefs::kCloudPrintProxyEnabled, |
283 base::Value::TYPE_BOOLEAN }, | 289 base::Value::TYPE_BOOLEAN }, |
284 { key::kCloudPrintSubmitEnabled, | 290 { key::kCloudPrintSubmitEnabled, |
285 prefs::kCloudPrintSubmitEnabled, | 291 prefs::kCloudPrintSubmitEnabled, |
286 base::Value::TYPE_BOOLEAN }, | 292 base::Value::TYPE_BOOLEAN }, |
287 { key::kTranslateEnabled, | 293 { key::kTranslateEnabled, |
288 prefs::kEnableTranslate, | 294 prefs::kEnableTranslate, |
289 base::Value::TYPE_BOOLEAN }, | 295 base::Value::TYPE_BOOLEAN }, |
290 { key::kAllowOutdatedPlugins, | 296 { key::kAllowOutdatedPlugins, |
(...skipping 439 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
730 #endif // defined(OS_CHROMEOS) | 736 #endif // defined(OS_CHROMEOS) |
731 | 737 |
732 #if defined(OS_ANDROID) || defined(OS_IOS) | 738 #if defined(OS_ANDROID) || defined(OS_IOS) |
733 handlers->AddHandler(make_scoped_ptr<ConfigurationPolicyHandler>( | 739 handlers->AddHandler(make_scoped_ptr<ConfigurationPolicyHandler>( |
734 new ManagedBookmarksPolicyHandler())); | 740 new ManagedBookmarksPolicyHandler())); |
735 #endif | 741 #endif |
736 return handlers.Pass(); | 742 return handlers.Pass(); |
737 } | 743 } |
738 | 744 |
739 } // namespace policy | 745 } // namespace policy |
OLD | NEW |