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

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

Issue 8772014: Add a preference for enabling the TLS origin-bound certificates extension. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "base/stl_util.h" 7 #include "base/stl_util.h"
8 #include "base/values.h" 8 #include "base/values.h"
9 #include "chrome/browser/policy/configuration_policy_handler.h" 9 #include "chrome/browser/policy/configuration_policy_handler.h"
10 #include "chrome/browser/policy/policy_error_map.h" 10 #include "chrome/browser/policy/policy_error_map.h"
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 { Value::TYPE_LIST, kPolicyPopupsBlockedForUrls, 117 { Value::TYPE_LIST, kPolicyPopupsBlockedForUrls,
118 prefs::kManagedPopupsBlockedForUrls }, 118 prefs::kManagedPopupsBlockedForUrls },
119 { Value::TYPE_LIST, kPolicyNotificationsAllowedForUrls, 119 { Value::TYPE_LIST, kPolicyNotificationsAllowedForUrls,
120 prefs::kManagedNotificationsAllowedForUrls }, 120 prefs::kManagedNotificationsAllowedForUrls },
121 { Value::TYPE_LIST, kPolicyNotificationsBlockedForUrls, 121 { Value::TYPE_LIST, kPolicyNotificationsBlockedForUrls,
122 prefs::kManagedNotificationsBlockedForUrls }, 122 prefs::kManagedNotificationsBlockedForUrls },
123 { Value::TYPE_INTEGER, kPolicyDefaultNotificationsSetting, 123 { Value::TYPE_INTEGER, kPolicyDefaultNotificationsSetting,
124 prefs::kManagedDefaultNotificationsSetting }, 124 prefs::kManagedDefaultNotificationsSetting },
125 { Value::TYPE_INTEGER, kPolicyDefaultGeolocationSetting, 125 { Value::TYPE_INTEGER, kPolicyDefaultGeolocationSetting,
126 prefs::kManagedDefaultGeolocationSetting }, 126 prefs::kManagedDefaultGeolocationSetting },
127 { Value::TYPE_BOOLEAN, kPolicyEnableOriginBoundCerts,
128 prefs::kEnableOriginBoundCerts },
127 { Value::TYPE_STRING, kPolicyAuthSchemes, 129 { Value::TYPE_STRING, kPolicyAuthSchemes,
128 prefs::kAuthSchemes }, 130 prefs::kAuthSchemes },
129 { Value::TYPE_BOOLEAN, kPolicyDisableAuthNegotiateCnameLookup, 131 { Value::TYPE_BOOLEAN, kPolicyDisableAuthNegotiateCnameLookup,
130 prefs::kDisableAuthNegotiateCnameLookup }, 132 prefs::kDisableAuthNegotiateCnameLookup },
131 { Value::TYPE_BOOLEAN, kPolicyEnableAuthNegotiatePort, 133 { Value::TYPE_BOOLEAN, kPolicyEnableAuthNegotiatePort,
132 prefs::kEnableAuthNegotiatePort }, 134 prefs::kEnableAuthNegotiatePort },
133 { Value::TYPE_STRING, kPolicyAuthServerWhitelist, 135 { Value::TYPE_STRING, kPolicyAuthServerWhitelist,
134 prefs::kAuthServerWhitelist }, 136 prefs::kAuthServerWhitelist },
135 { Value::TYPE_STRING, kPolicyAuthNegotiateDelegateWhitelist, 137 { Value::TYPE_STRING, kPolicyAuthNegotiateDelegateWhitelist,
136 prefs::kAuthNegotiateDelegateWhitelist }, 138 prefs::kAuthNegotiateDelegateWhitelist },
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 } 263 }
262 264
263 void ConfigurationPolicyHandlerList::PrepareForDisplaying( 265 void ConfigurationPolicyHandlerList::PrepareForDisplaying(
264 PolicyMap* policies) const { 266 PolicyMap* policies) const {
265 std::vector<ConfigurationPolicyHandler*>::const_iterator handler; 267 std::vector<ConfigurationPolicyHandler*>::const_iterator handler;
266 for (handler = handlers_.begin(); handler != handlers_.end(); ++handler) 268 for (handler = handlers_.begin(); handler != handlers_.end(); ++handler)
267 (*handler)->PrepareForDisplaying(policies); 269 (*handler)->PrepareForDisplaying(policies);
268 } 270 }
269 271
270 } // namespace policy 272 } // namespace policy
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698