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

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

Issue 12088040: Add a SigninAllowed policy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address nits and rebase to ToT. Created 7 years, 9 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/browser/app_controller_mac.mm ('k') | chrome/browser/profiles/profile_impl.cc » ('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 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 Value::TYPE_LIST }, 168 Value::TYPE_LIST },
169 { key::kNotificationsBlockedForUrls, 169 { key::kNotificationsBlockedForUrls,
170 prefs::kManagedNotificationsBlockedForUrls, 170 prefs::kManagedNotificationsBlockedForUrls,
171 Value::TYPE_LIST }, 171 Value::TYPE_LIST },
172 { key::kDefaultNotificationsSetting, 172 { key::kDefaultNotificationsSetting,
173 prefs::kManagedDefaultNotificationsSetting, 173 prefs::kManagedDefaultNotificationsSetting,
174 Value::TYPE_INTEGER }, 174 Value::TYPE_INTEGER },
175 { key::kDefaultGeolocationSetting, 175 { key::kDefaultGeolocationSetting,
176 prefs::kManagedDefaultGeolocationSetting, 176 prefs::kManagedDefaultGeolocationSetting,
177 Value::TYPE_INTEGER }, 177 Value::TYPE_INTEGER },
178 { key::kSigninAllowed,
179 prefs::kSigninAllowed,
180 Value::TYPE_BOOLEAN },
178 { key::kEnableOriginBoundCerts, 181 { key::kEnableOriginBoundCerts,
179 prefs::kEnableOriginBoundCerts, 182 prefs::kEnableOriginBoundCerts,
180 Value::TYPE_BOOLEAN }, 183 Value::TYPE_BOOLEAN },
181 { key::kDisableSSLRecordSplitting, 184 { key::kDisableSSLRecordSplitting,
182 prefs::kDisableSSLRecordSplitting, 185 prefs::kDisableSSLRecordSplitting,
183 Value::TYPE_BOOLEAN }, 186 Value::TYPE_BOOLEAN },
184 { key::kEnableOnlineRevocationChecks, 187 { key::kEnableOnlineRevocationChecks,
185 prefs::kCertRevocationCheckingEnabled, 188 prefs::kCertRevocationCheckingEnabled,
186 Value::TYPE_BOOLEAN }, 189 Value::TYPE_BOOLEAN },
187 { key::kAuthSchemes, 190 { key::kAuthSchemes,
(...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after
525 } 528 }
526 529
527 void ConfigurationPolicyHandlerList::PrepareForDisplaying( 530 void ConfigurationPolicyHandlerList::PrepareForDisplaying(
528 PolicyMap* policies) const { 531 PolicyMap* policies) const {
529 std::vector<ConfigurationPolicyHandler*>::const_iterator handler; 532 std::vector<ConfigurationPolicyHandler*>::const_iterator handler;
530 for (handler = handlers_.begin(); handler != handlers_.end(); ++handler) 533 for (handler = handlers_.begin(); handler != handlers_.end(); ++handler)
531 (*handler)->PrepareForDisplaying(policies); 534 (*handler)->PrepareForDisplaying(policies);
532 } 535 }
533 536
534 } // namespace policy 537 } // namespace policy
OLDNEW
« no previous file with comments | « chrome/browser/app_controller_mac.mm ('k') | chrome/browser/profiles/profile_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698