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

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: Rebase. Created 7 years, 6 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 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 Value::TYPE_BOOLEAN }, 284 Value::TYPE_BOOLEAN },
285 { key::kMaxConnectionsPerProxy, 285 { key::kMaxConnectionsPerProxy,
286 prefs::kMaxConnectionsPerProxy, 286 prefs::kMaxConnectionsPerProxy,
287 Value::TYPE_INTEGER }, 287 Value::TYPE_INTEGER },
288 { key::kURLBlacklist, 288 { key::kURLBlacklist,
289 prefs::kUrlBlacklist, 289 prefs::kUrlBlacklist,
290 Value::TYPE_LIST }, 290 Value::TYPE_LIST },
291 { key::kURLWhitelist, 291 { key::kURLWhitelist,
292 prefs::kUrlWhitelist, 292 prefs::kUrlWhitelist,
293 Value::TYPE_LIST }, 293 Value::TYPE_LIST },
294 { key::kEnterpriseWebStoreURL,
295 prefs::kEnterpriseWebStoreURL,
296 Value::TYPE_STRING },
297 { key::kEnterpriseWebStoreName,
298 prefs::kEnterpriseWebStoreName,
299 Value::TYPE_STRING },
300 { key::kEnableMemoryInfo, 294 { key::kEnableMemoryInfo,
301 prefs::kEnableMemoryInfo, 295 prefs::kEnableMemoryInfo,
302 Value::TYPE_BOOLEAN }, 296 Value::TYPE_BOOLEAN },
303 { key::kRestrictSigninToPattern, 297 { key::kRestrictSigninToPattern,
304 prefs::kGoogleServicesUsernamePattern, 298 prefs::kGoogleServicesUsernamePattern,
305 Value::TYPE_STRING }, 299 Value::TYPE_STRING },
306 { key::kDefaultMediaStreamSetting, 300 { key::kDefaultMediaStreamSetting,
307 prefs::kManagedDefaultMediaStreamSetting, 301 prefs::kManagedDefaultMediaStreamSetting,
308 Value::TYPE_INTEGER }, 302 Value::TYPE_INTEGER },
309 { key::kDisableSafeBrowsingProceedAnyway, 303 { key::kDisableSafeBrowsingProceedAnyway,
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
559 } 553 }
560 554
561 void ConfigurationPolicyHandlerList::PrepareForDisplaying( 555 void ConfigurationPolicyHandlerList::PrepareForDisplaying(
562 PolicyMap* policies) const { 556 PolicyMap* policies) const {
563 std::vector<ConfigurationPolicyHandler*>::const_iterator handler; 557 std::vector<ConfigurationPolicyHandler*>::const_iterator handler;
564 for (handler = handlers_.begin(); handler != handlers_.end(); ++handler) 558 for (handler = handlers_.begin(); handler != handlers_.end(); ++handler)
565 (*handler)->PrepareForDisplaying(policies); 559 (*handler)->PrepareForDisplaying(policies);
566 } 560 }
567 561
568 } // namespace policy 562 } // namespace policy
OLDNEW
« no previous file with comments | « chrome/browser/extensions/component_loader_unittest.cc ('k') | chrome/browser/prefs/browser_prefs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698