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

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

Issue 32513006: Revert 229896 "Cache force-installed apps/extensions in device-l..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 2 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/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/prefs/pref_value_map.h" 10 #include "base/prefs/pref_value_map.h"
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 Value::TYPE_BOOLEAN }, 88 Value::TYPE_BOOLEAN },
89 { key::kDisablePrintPreview, 89 { key::kDisablePrintPreview,
90 prefs::kPrintPreviewDisabled, 90 prefs::kPrintPreviewDisabled,
91 Value::TYPE_BOOLEAN }, 91 Value::TYPE_BOOLEAN },
92 { key::kMetricsReportingEnabled, 92 { key::kMetricsReportingEnabled,
93 prefs::kMetricsReportingEnabled, 93 prefs::kMetricsReportingEnabled,
94 Value::TYPE_BOOLEAN }, 94 Value::TYPE_BOOLEAN },
95 { key::kApplicationLocaleValue, 95 { key::kApplicationLocaleValue,
96 prefs::kApplicationLocale, 96 prefs::kApplicationLocale,
97 Value::TYPE_STRING }, 97 Value::TYPE_STRING },
98 { key::kExtensionInstallForcelist,
99 prefs::kExtensionInstallForceList,
100 Value::TYPE_LIST },
98 { key::kDisabledPlugins, 101 { key::kDisabledPlugins,
99 prefs::kPluginsDisabledPlugins, 102 prefs::kPluginsDisabledPlugins,
100 Value::TYPE_LIST }, 103 Value::TYPE_LIST },
101 { key::kDisabledPluginsExceptions, 104 { key::kDisabledPluginsExceptions,
102 prefs::kPluginsDisabledPluginsExceptions, 105 prefs::kPluginsDisabledPluginsExceptions,
103 Value::TYPE_LIST }, 106 Value::TYPE_LIST },
104 { key::kEnabledPlugins, 107 { key::kEnabledPlugins,
105 prefs::kPluginsEnabledPlugins, 108 prefs::kPluginsEnabledPlugins,
106 Value::TYPE_LIST }, 109 Value::TYPE_LIST },
107 { key::kShowHomeButton, 110 { key::kShowHomeButton,
(...skipping 520 matching lines...) Expand 10 before | Expand all | Expand 10 after
628 } 631 }
629 632
630 void ConfigurationPolicyHandlerList::PrepareForDisplaying( 633 void ConfigurationPolicyHandlerList::PrepareForDisplaying(
631 PolicyMap* policies) const { 634 PolicyMap* policies) const {
632 std::vector<ConfigurationPolicyHandler*>::const_iterator handler; 635 std::vector<ConfigurationPolicyHandler*>::const_iterator handler;
633 for (handler = handlers_.begin(); handler != handlers_.end(); ++handler) 636 for (handler = handlers_.begin(); handler != handlers_.end(); ++handler)
634 (*handler)->PrepareForDisplaying(policies); 637 (*handler)->PrepareForDisplaying(policies);
635 } 638 }
636 639
637 } // namespace policy 640 } // namespace policy
OLDNEW
« no previous file with comments | « trunk/src/chrome/browser/policy/browser_policy_connector.cc ('k') | trunk/src/chrome/chrome_browser_chromeos.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698