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

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

Issue 27548004: Cache force-installed apps/extensions in device-local accounts (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 Value::TYPE_BOOLEAN }, 136 Value::TYPE_BOOLEAN },
137 { key::kDisablePrintPreview, 137 { key::kDisablePrintPreview,
138 prefs::kPrintPreviewDisabled, 138 prefs::kPrintPreviewDisabled,
139 Value::TYPE_BOOLEAN }, 139 Value::TYPE_BOOLEAN },
140 { key::kMetricsReportingEnabled, 140 { key::kMetricsReportingEnabled,
141 prefs::kMetricsReportingEnabled, 141 prefs::kMetricsReportingEnabled,
142 Value::TYPE_BOOLEAN }, 142 Value::TYPE_BOOLEAN },
143 { key::kApplicationLocaleValue, 143 { key::kApplicationLocaleValue,
144 prefs::kApplicationLocale, 144 prefs::kApplicationLocale,
145 Value::TYPE_STRING }, 145 Value::TYPE_STRING },
146 { key::kExtensionInstallForcelist,
147 prefs::kExtensionInstallForceList,
148 Value::TYPE_LIST },
Joao da Silva 2013/10/17 14:57:54 Nice catch
149 { key::kDisabledPlugins, 146 { key::kDisabledPlugins,
150 prefs::kPluginsDisabledPlugins, 147 prefs::kPluginsDisabledPlugins,
151 Value::TYPE_LIST }, 148 Value::TYPE_LIST },
152 { key::kDisabledPluginsExceptions, 149 { key::kDisabledPluginsExceptions,
153 prefs::kPluginsDisabledPluginsExceptions, 150 prefs::kPluginsDisabledPluginsExceptions,
154 Value::TYPE_LIST }, 151 Value::TYPE_LIST },
155 { key::kEnabledPlugins, 152 { key::kEnabledPlugins,
156 prefs::kPluginsEnabledPlugins, 153 prefs::kPluginsEnabledPlugins,
157 Value::TYPE_LIST }, 154 Value::TYPE_LIST },
158 { key::kShowHomeButton, 155 { key::kShowHomeButton,
(...skipping 527 matching lines...) Expand 10 before | Expand all | Expand 10 after
686 } 683 }
687 684
688 void ConfigurationPolicyHandlerList::PrepareForDisplaying( 685 void ConfigurationPolicyHandlerList::PrepareForDisplaying(
689 PolicyMap* policies) const { 686 PolicyMap* policies) const {
690 std::vector<ConfigurationPolicyHandler*>::const_iterator handler; 687 std::vector<ConfigurationPolicyHandler*>::const_iterator handler;
691 for (handler = handlers_.begin(); handler != handlers_.end(); ++handler) 688 for (handler = handlers_.begin(); handler != handlers_.end(); ++handler)
692 (*handler)->PrepareForDisplaying(policies); 689 (*handler)->PrepareForDisplaying(policies);
693 } 690 }
694 691
695 } // namespace policy 692 } // namespace policy
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698