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

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: Rebased. Ready to reland after revert due to conflicting concurrent commit. 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
« no previous file with comments | « chrome/browser/policy/browser_policy_connector.cc ('k') | chrome/chrome_browser_chromeos.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 },
101 { key::kDisabledPlugins, 98 { key::kDisabledPlugins,
102 prefs::kPluginsDisabledPlugins, 99 prefs::kPluginsDisabledPlugins,
103 Value::TYPE_LIST }, 100 Value::TYPE_LIST },
104 { key::kDisabledPluginsExceptions, 101 { key::kDisabledPluginsExceptions,
105 prefs::kPluginsDisabledPluginsExceptions, 102 prefs::kPluginsDisabledPluginsExceptions,
106 Value::TYPE_LIST }, 103 Value::TYPE_LIST },
107 { key::kEnabledPlugins, 104 { key::kEnabledPlugins,
108 prefs::kPluginsEnabledPlugins, 105 prefs::kPluginsEnabledPlugins,
109 Value::TYPE_LIST }, 106 Value::TYPE_LIST },
110 { key::kShowHomeButton, 107 { key::kShowHomeButton,
(...skipping 520 matching lines...) Expand 10 before | Expand all | Expand 10 after
631 } 628 }
632 629
633 void ConfigurationPolicyHandlerList::PrepareForDisplaying( 630 void ConfigurationPolicyHandlerList::PrepareForDisplaying(
634 PolicyMap* policies) const { 631 PolicyMap* policies) const {
635 std::vector<ConfigurationPolicyHandler*>::const_iterator handler; 632 std::vector<ConfigurationPolicyHandler*>::const_iterator handler;
636 for (handler = handlers_.begin(); handler != handlers_.end(); ++handler) 633 for (handler = handlers_.begin(); handler != handlers_.end(); ++handler)
637 (*handler)->PrepareForDisplaying(policies); 634 (*handler)->PrepareForDisplaying(policies);
638 } 635 }
639 636
640 } // namespace policy 637 } // namespace policy
OLDNEW
« no previous file with comments | « chrome/browser/policy/browser_policy_connector.cc ('k') | chrome/chrome_browser_chromeos.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698