Index: components/policy/core/browser/configuration_policy_handler_unittest.cc |
diff --git a/components/policy/core/browser/configuration_policy_handler_unittest.cc b/components/policy/core/browser/configuration_policy_handler_unittest.cc |
index 4947dbf9eeac05fb75a97bedb12341ad713c0d42..aa52cd7b2fe5acc855b58809ad5e0d58332017f7 100644 |
--- a/components/policy/core/browser/configuration_policy_handler_unittest.cc |
+++ b/components/policy/core/browser/configuration_policy_handler_unittest.cc |
@@ -25,13 +25,12 @@ StringToIntEnumListPolicyHandler::MappingEntry kTestTypeMap[] = { |
const char kTestPolicy[] = "unit_test.test_policy"; |
const char kTestPref[] = "unit_test.test_pref"; |
-class SimpleSchemaValidatingPolicyHandler |
- : public SchemaValidatingPolicyHandler { |
+class TestSchemaValidatingPolicyHandler : public SchemaValidatingPolicyHandler { |
public: |
- SimpleSchemaValidatingPolicyHandler(const Schema& schema, |
- SchemaOnErrorStrategy strategy) |
+ TestSchemaValidatingPolicyHandler(const Schema& schema, |
+ SchemaOnErrorStrategy strategy) |
: SchemaValidatingPolicyHandler("PolicyForTesting", schema, strategy) {} |
- virtual ~SimpleSchemaValidatingPolicyHandler() {} |
+ virtual ~TestSchemaValidatingPolicyHandler() {} |
virtual void ApplyPolicySettings(const policy::PolicyMap&, |
PrefValueMap*) OVERRIDE { |
@@ -543,7 +542,7 @@ TEST(SchemaValidatingPolicyHandlerTest, CheckAndGetValue) { |
policy_map.LoadFrom( |
policy_map_dict, POLICY_LEVEL_RECOMMENDED, POLICY_SCOPE_USER); |
- SimpleSchemaValidatingPolicyHandler handler(schema, SCHEMA_ALLOW_INVALID); |
+ TestSchemaValidatingPolicyHandler handler(schema, SCHEMA_ALLOW_INVALID); |
scoped_ptr<base::Value> output_value; |
ASSERT_TRUE(handler.CheckAndGetValueForTest(policy_map, &output_value)); |
ASSERT_TRUE(output_value); |