Chromium Code Reviews| Index: components/policy/core/browser/configuration_policy_pref_store_test.h |
| diff --git a/components/policy/core/browser/configuration_policy_pref_store_test.h b/components/policy/core/browser/configuration_policy_pref_store_test.h |
| index 40c8381444c318251eb6beecc01c12810ad2a7c0..1b121d8d0a88ec01aaf2518a536b5ab824630cf4 100644 |
| --- a/components/policy/core/browser/configuration_policy_pref_store_test.h |
| +++ b/components/policy/core/browser/configuration_policy_pref_store_test.h |
| @@ -16,6 +16,7 @@ |
| namespace policy { |
| +struct PolicyHandlerParameters; |
| class PolicyMap; |
| class PolicyService; |
| class ConfigurationPolicyPrefStore; |
| @@ -27,6 +28,11 @@ class ConfigurationPolicyPrefStoreTest : public testing::Test { |
| virtual void TearDown() OVERRIDE; |
| void UpdateProviderPolicy(const PolicyMap& policy); |
| + // A unit test could override this method to populate the policy handler |
|
bartfab (slow)
2014/03/14 16:16:45
Nit: s/could/can/
|
| + // parameters as suited to its needs. |
| + virtual void PopulatePolicyHandlerParameters( |
| + PolicyHandlerParameters* parameters); |
| + |
| PolicyServiceImpl::Providers providers_; |
| ConfigurationPolicyHandlerList handler_list_; |
| MockConfigurationPolicyProvider provider_; |