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

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

Issue 14813039: Retire the Enterprise Web Store policies. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix nits. Created 7 years, 7 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
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 276 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 Value::TYPE_BOOLEAN }, 287 Value::TYPE_BOOLEAN },
288 { key::kMaxConnectionsPerProxy, 288 { key::kMaxConnectionsPerProxy,
289 prefs::kMaxConnectionsPerProxy, 289 prefs::kMaxConnectionsPerProxy,
290 Value::TYPE_INTEGER }, 290 Value::TYPE_INTEGER },
291 { key::kURLBlacklist, 291 { key::kURLBlacklist,
292 prefs::kUrlBlacklist, 292 prefs::kUrlBlacklist,
293 Value::TYPE_LIST }, 293 Value::TYPE_LIST },
294 { key::kURLWhitelist, 294 { key::kURLWhitelist,
295 prefs::kUrlWhitelist, 295 prefs::kUrlWhitelist,
296 Value::TYPE_LIST }, 296 Value::TYPE_LIST },
297 { key::kEnterpriseWebStoreURL,
298 prefs::kEnterpriseWebStoreURL,
299 Value::TYPE_STRING },
300 { key::kEnterpriseWebStoreName,
301 prefs::kEnterpriseWebStoreName,
302 Value::TYPE_STRING },
303 { key::kEnableMemoryInfo, 297 { key::kEnableMemoryInfo,
304 prefs::kEnableMemoryInfo, 298 prefs::kEnableMemoryInfo,
305 Value::TYPE_BOOLEAN }, 299 Value::TYPE_BOOLEAN },
306 { key::kRestrictSigninToPattern, 300 { key::kRestrictSigninToPattern,
307 prefs::kGoogleServicesUsernamePattern, 301 prefs::kGoogleServicesUsernamePattern,
308 Value::TYPE_STRING }, 302 Value::TYPE_STRING },
309 { key::kDefaultMediaStreamSetting, 303 { key::kDefaultMediaStreamSetting,
310 prefs::kManagedDefaultMediaStreamSetting, 304 prefs::kManagedDefaultMediaStreamSetting,
311 Value::TYPE_INTEGER }, 305 Value::TYPE_INTEGER },
312 { key::kDisableSafeBrowsingProceedAnyway, 306 { key::kDisableSafeBrowsingProceedAnyway,
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after
561 } 555 }
562 556
563 void ConfigurationPolicyHandlerList::PrepareForDisplaying( 557 void ConfigurationPolicyHandlerList::PrepareForDisplaying(
564 PolicyMap* policies) const { 558 PolicyMap* policies) const {
565 std::vector<ConfigurationPolicyHandler*>::const_iterator handler; 559 std::vector<ConfigurationPolicyHandler*>::const_iterator handler;
566 for (handler = handlers_.begin(); handler != handlers_.end(); ++handler) 560 for (handler = handlers_.begin(); handler != handlers_.end(); ++handler)
567 (*handler)->PrepareForDisplaying(policies); 561 (*handler)->PrepareForDisplaying(policies);
568 } 562 }
569 563
570 } // namespace policy 564 } // namespace policy
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698