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..c06a8286891638cf3e47b5e79f62c1d4ff3f06a3 100644 |
| --- a/components/policy/core/browser/configuration_policy_handler_list.h |
| +++ b/components/policy/core/browser/configuration_policy_handler_list.h |
| @@ -22,6 +22,10 @@ class PolicyErrorMap; |
| class PolicyMap; |
| struct PolicyToPreferenceMapEntry; |
| class Schema; |
| +struct PolicyHandlerParameters; |
| + |
| +typedef base::Callback<void(PolicyHandlerParameters*)> |
|
bartfab (slow)
2014/03/13 13:20:00
Nit: Move the definitions inside ConfigurationPoli
|
| + PopulatePolicyHandlerParametersCallback; |
| // Converts policies to their corresponding preferences by applying a list of |
| // ConfigurationPolicyHandler objects. This includes error checking and |
| @@ -29,6 +33,7 @@ class Schema; |
| class POLICY_EXPORT ConfigurationPolicyHandlerList { |
| public: |
| 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_; |
| GetChromePolicyDetailsCallback details_callback_; |
| DISALLOW_COPY_AND_ASSIGN(ConfigurationPolicyHandlerList); |