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..d22d2c2c6c4711da76c544a3dff305d14eea6b8b 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 can override this method to populate the policy handler |
+ // parameters as suited to its needs. |
+ virtual void PopulatePolicyHandlerParameters( |
+ PolicyHandlerParameters* parameters); |
+ |
PolicyServiceImpl::Providers providers_; |
ConfigurationPolicyHandlerList handler_list_; |
MockConfigurationPolicyProvider provider_; |