| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |