OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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.h" | 5 #include "chrome/browser/policy/configuration_policy_handler_list.h" |
6 | 6 |
7 #include <limits> | 7 #include <limits> |
8 | 8 |
9 #include "base/prefs/pref_value_map.h" | 9 #include "base/prefs/pref_value_map.h" |
10 #include "base/stl_util.h" | 10 #include "base/stl_util.h" |
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
239 Value::TYPE_BOOLEAN }, | 239 Value::TYPE_BOOLEAN }, |
240 { key::kRemoteAccessHostDomain, | 240 { key::kRemoteAccessHostDomain, |
241 prefs::kRemoteAccessHostDomain, | 241 prefs::kRemoteAccessHostDomain, |
242 Value::TYPE_STRING }, | 242 Value::TYPE_STRING }, |
243 { key::kRemoteAccessHostTalkGadgetPrefix, | 243 { key::kRemoteAccessHostTalkGadgetPrefix, |
244 prefs::kRemoteAccessHostTalkGadgetPrefix, | 244 prefs::kRemoteAccessHostTalkGadgetPrefix, |
245 Value::TYPE_STRING }, | 245 Value::TYPE_STRING }, |
246 { key::kRemoteAccessHostRequireCurtain, | 246 { key::kRemoteAccessHostRequireCurtain, |
247 prefs::kRemoteAccessHostRequireCurtain, | 247 prefs::kRemoteAccessHostRequireCurtain, |
248 Value::TYPE_BOOLEAN }, | 248 Value::TYPE_BOOLEAN }, |
| 249 { key::kRemoteAccessHostAllowClientPairing, |
| 250 prefs::kRemoteAccessHostAllowClientPairing, |
| 251 Value::TYPE_BOOLEAN }, |
249 { key::kCloudPrintProxyEnabled, | 252 { key::kCloudPrintProxyEnabled, |
250 prefs::kCloudPrintProxyEnabled, | 253 prefs::kCloudPrintProxyEnabled, |
251 Value::TYPE_BOOLEAN }, | 254 Value::TYPE_BOOLEAN }, |
252 { key::kCloudPrintSubmitEnabled, | 255 { key::kCloudPrintSubmitEnabled, |
253 prefs::kCloudPrintSubmitEnabled, | 256 prefs::kCloudPrintSubmitEnabled, |
254 Value::TYPE_BOOLEAN }, | 257 Value::TYPE_BOOLEAN }, |
255 { key::kTranslateEnabled, | 258 { key::kTranslateEnabled, |
256 prefs::kEnableTranslate, | 259 prefs::kEnableTranslate, |
257 Value::TYPE_BOOLEAN }, | 260 Value::TYPE_BOOLEAN }, |
258 { key::kAllowOutdatedPlugins, | 261 { key::kAllowOutdatedPlugins, |
(...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
607 } | 610 } |
608 | 611 |
609 void ConfigurationPolicyHandlerList::PrepareForDisplaying( | 612 void ConfigurationPolicyHandlerList::PrepareForDisplaying( |
610 PolicyMap* policies) const { | 613 PolicyMap* policies) const { |
611 std::vector<ConfigurationPolicyHandler*>::const_iterator handler; | 614 std::vector<ConfigurationPolicyHandler*>::const_iterator handler; |
612 for (handler = handlers_.begin(); handler != handlers_.end(); ++handler) | 615 for (handler = handlers_.begin(); handler != handlers_.end(); ++handler) |
613 (*handler)->PrepareForDisplaying(policies); | 616 (*handler)->PrepareForDisplaying(policies); |
614 } | 617 } |
615 | 618 |
616 } // namespace policy | 619 } // namespace policy |
OLD | NEW |