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 "base/prefs/pref_value_map.h" |
7 #include "base/stl_util.h" | 8 #include "base/stl_util.h" |
8 #include "base/values.h" | 9 #include "base/values.h" |
9 #include "chrome/browser/policy/configuration_policy_handler.h" | 10 #include "chrome/browser/policy/configuration_policy_handler.h" |
10 #include "chrome/browser/policy/policy_error_map.h" | 11 #include "chrome/browser/policy/policy_error_map.h" |
11 #include "chrome/browser/policy/policy_map.h" | 12 #include "chrome/browser/policy/policy_map.h" |
12 #include "chrome/browser/prefs/pref_value_map.h" | |
13 #include "chrome/common/pref_names.h" | 13 #include "chrome/common/pref_names.h" |
14 #include "grit/generated_resources.h" | 14 #include "grit/generated_resources.h" |
15 #include "policy/policy_constants.h" | 15 #include "policy/policy_constants.h" |
16 | 16 |
17 #if defined(OS_CHROMEOS) | 17 #if defined(OS_CHROMEOS) |
18 #include "chrome/browser/policy/configuration_policy_handler_chromeos.h" | 18 #include "chrome/browser/policy/configuration_policy_handler_chromeos.h" |
19 #endif // defined(OS_CHROMEOS) | 19 #endif // defined(OS_CHROMEOS) |
20 | 20 |
21 namespace policy { | 21 namespace policy { |
22 | 22 |
(...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
413 } | 413 } |
414 | 414 |
415 void ConfigurationPolicyHandlerList::PrepareForDisplaying( | 415 void ConfigurationPolicyHandlerList::PrepareForDisplaying( |
416 PolicyMap* policies) const { | 416 PolicyMap* policies) const { |
417 std::vector<ConfigurationPolicyHandler*>::const_iterator handler; | 417 std::vector<ConfigurationPolicyHandler*>::const_iterator handler; |
418 for (handler = handlers_.begin(); handler != handlers_.end(); ++handler) | 418 for (handler = handlers_.begin(); handler != handlers_.end(); ++handler) |
419 (*handler)->PrepareForDisplaying(policies); | 419 (*handler)->PrepareForDisplaying(policies); |
420 } | 420 } |
421 | 421 |
422 } // namespace policy | 422 } // namespace policy |
OLD | NEW |