Chromium Code Reviews| Index: components/policy/core/browser/configuration_policy_handler_list.h |
| diff --git a/components/policy/core/browser/configuration_policy_handler_list.h b/components/policy/core/browser/configuration_policy_handler_list.h |
| index f686d6870b4aafcde803d0c91dca8b9d388f3742..2cb1cfc5aad87b68451bab518660ec794b9a2d08 100644 |
| --- a/components/policy/core/browser/configuration_policy_handler_list.h |
| +++ b/components/policy/core/browser/configuration_policy_handler_list.h |
| @@ -22,13 +22,18 @@ class PolicyErrorMap; |
| class PolicyMap; |
| struct PolicyToPreferenceMapEntry; |
| class Schema; |
| +struct PolicyHandlerParameters; |
|
bartfab (slow)
2014/03/14 13:43:45
Nit: Arrange in alphabetic order.
|
| // Converts policies to their corresponding preferences by applying a list of |
| // ConfigurationPolicyHandler objects. This includes error checking and |
| // cleaning up policy values for displaying. |
| class POLICY_EXPORT ConfigurationPolicyHandlerList { |
| public: |
| + typedef base::Callback<void(PolicyHandlerParameters*)> |
| + PopulatePolicyHandlerParametersCallback; |
| + |
| explicit ConfigurationPolicyHandlerList( |
| + const PopulatePolicyHandlerParametersCallback& parameters_callback, |
| const GetChromePolicyDetailsCallback& details_callback); |
| ~ConfigurationPolicyHandlerList(); |
| @@ -47,6 +52,7 @@ class POLICY_EXPORT ConfigurationPolicyHandlerList { |
| private: |
| std::vector<ConfigurationPolicyHandler*> handlers_; |
| + PopulatePolicyHandlerParametersCallback parameters_callback_; |
|
bartfab (slow)
2014/03/14 13:43:45
Nit: const
|
| GetChromePolicyDetailsCallback details_callback_; |
| DISALLOW_COPY_AND_ASSIGN(ConfigurationPolicyHandlerList); |