Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(176)

Side by Side Diff: chrome/browser/policy/configuration_policy_handler_list.cc

Issue 20864002: Added PIN-less auth policy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/app/policy/policy_templates.json ('k') | chrome/common/pref_names.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « chrome/app/policy/policy_templates.json ('k') | chrome/common/pref_names.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698