| 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/values.h" | 9 #include "base/values.h" |
| 10 #include "chrome/browser/net/proxy_policy_handler.h" | 10 #include "chrome/browser/net/proxy_policy_handler.h" |
| (...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 260 base::Value::TYPE_STRING }, | 260 base::Value::TYPE_STRING }, |
| 261 { key::kRemoteAccessHostTalkGadgetPrefix, | 261 { key::kRemoteAccessHostTalkGadgetPrefix, |
| 262 prefs::kRemoteAccessHostTalkGadgetPrefix, | 262 prefs::kRemoteAccessHostTalkGadgetPrefix, |
| 263 base::Value::TYPE_STRING }, | 263 base::Value::TYPE_STRING }, |
| 264 { key::kRemoteAccessHostRequireCurtain, | 264 { key::kRemoteAccessHostRequireCurtain, |
| 265 prefs::kRemoteAccessHostRequireCurtain, | 265 prefs::kRemoteAccessHostRequireCurtain, |
| 266 base::Value::TYPE_BOOLEAN }, | 266 base::Value::TYPE_BOOLEAN }, |
| 267 { key::kRemoteAccessHostAllowClientPairing, | 267 { key::kRemoteAccessHostAllowClientPairing, |
| 268 prefs::kRemoteAccessHostAllowClientPairing, | 268 prefs::kRemoteAccessHostAllowClientPairing, |
| 269 base::Value::TYPE_BOOLEAN }, | 269 base::Value::TYPE_BOOLEAN }, |
| 270 { key::kRemoteAccessHostAllowGnubbyAuth, |
| 271 prefs::kRemoteAccessHostAllowGnubbyAuth, |
| 272 base::Value::TYPE_BOOLEAN }, |
| 270 { key::kCloudPrintProxyEnabled, | 273 { key::kCloudPrintProxyEnabled, |
| 271 prefs::kCloudPrintProxyEnabled, | 274 prefs::kCloudPrintProxyEnabled, |
| 272 base::Value::TYPE_BOOLEAN }, | 275 base::Value::TYPE_BOOLEAN }, |
| 273 { key::kCloudPrintSubmitEnabled, | 276 { key::kCloudPrintSubmitEnabled, |
| 274 prefs::kCloudPrintSubmitEnabled, | 277 prefs::kCloudPrintSubmitEnabled, |
| 275 base::Value::TYPE_BOOLEAN }, | 278 base::Value::TYPE_BOOLEAN }, |
| 276 { key::kTranslateEnabled, | 279 { key::kTranslateEnabled, |
| 277 prefs::kEnableTranslate, | 280 prefs::kEnableTranslate, |
| 278 base::Value::TYPE_BOOLEAN }, | 281 base::Value::TYPE_BOOLEAN }, |
| 279 { key::kAllowOutdatedPlugins, | 282 { key::kAllowOutdatedPlugins, |
| (...skipping 401 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 681 #endif // defined(OS_CHROMEOS) | 684 #endif // defined(OS_CHROMEOS) |
| 682 | 685 |
| 683 #if defined(OS_ANDROID) | 686 #if defined(OS_ANDROID) |
| 684 handlers->AddHandler(make_scoped_ptr<ConfigurationPolicyHandler>( | 687 handlers->AddHandler(make_scoped_ptr<ConfigurationPolicyHandler>( |
| 685 new ManagedBookmarksPolicyHandler())); | 688 new ManagedBookmarksPolicyHandler())); |
| 686 #endif | 689 #endif |
| 687 return handlers.Pass(); | 690 return handlers.Pass(); |
| 688 } | 691 } |
| 689 | 692 |
| 690 } // namespace policy | 693 } // namespace policy |
| OLD | NEW |