| 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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 Value::TYPE_BOOLEAN }, | 83 Value::TYPE_BOOLEAN }, |
| 84 { key::kDisablePrintPreview, | 84 { key::kDisablePrintPreview, |
| 85 prefs::kPrintPreviewDisabled, | 85 prefs::kPrintPreviewDisabled, |
| 86 Value::TYPE_BOOLEAN }, | 86 Value::TYPE_BOOLEAN }, |
| 87 { key::kMetricsReportingEnabled, | 87 { key::kMetricsReportingEnabled, |
| 88 prefs::kMetricsReportingEnabled, | 88 prefs::kMetricsReportingEnabled, |
| 89 Value::TYPE_BOOLEAN }, | 89 Value::TYPE_BOOLEAN }, |
| 90 { key::kApplicationLocaleValue, | 90 { key::kApplicationLocaleValue, |
| 91 prefs::kApplicationLocale, | 91 prefs::kApplicationLocale, |
| 92 Value::TYPE_STRING }, | 92 Value::TYPE_STRING }, |
| 93 { key::kExtensionInstallForcelist, | |
| 94 prefs::kExtensionInstallForceList, | |
| 95 Value::TYPE_LIST }, | |
| 96 { key::kDisabledPlugins, | 93 { key::kDisabledPlugins, |
| 97 prefs::kPluginsDisabledPlugins, | 94 prefs::kPluginsDisabledPlugins, |
| 98 Value::TYPE_LIST }, | 95 Value::TYPE_LIST }, |
| 99 { key::kDisabledPluginsExceptions, | 96 { key::kDisabledPluginsExceptions, |
| 100 prefs::kPluginsDisabledPluginsExceptions, | 97 prefs::kPluginsDisabledPluginsExceptions, |
| 101 Value::TYPE_LIST }, | 98 Value::TYPE_LIST }, |
| 102 { key::kEnabledPlugins, | 99 { key::kEnabledPlugins, |
| 103 prefs::kPluginsEnabledPlugins, | 100 prefs::kPluginsEnabledPlugins, |
| 104 Value::TYPE_LIST }, | 101 Value::TYPE_LIST }, |
| 105 { key::kShowHomeButton, | 102 { key::kShowHomeButton, |
| (...skipping 524 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 630 } | 627 } |
| 631 | 628 |
| 632 void ConfigurationPolicyHandlerList::PrepareForDisplaying( | 629 void ConfigurationPolicyHandlerList::PrepareForDisplaying( |
| 633 PolicyMap* policies) const { | 630 PolicyMap* policies) const { |
| 634 std::vector<ConfigurationPolicyHandler*>::const_iterator handler; | 631 std::vector<ConfigurationPolicyHandler*>::const_iterator handler; |
| 635 for (handler = handlers_.begin(); handler != handlers_.end(); ++handler) | 632 for (handler = handlers_.begin(); handler != handlers_.end(); ++handler) |
| 636 (*handler)->PrepareForDisplaying(policies); | 633 (*handler)->PrepareForDisplaying(policies); |
| 637 } | 634 } |
| 638 | 635 |
| 639 } // namespace policy | 636 } // namespace policy |
| OLD | NEW |