Index: chrome/browser/policy/config_dir_policy_provider_unittest.cc |
diff --git a/chrome/browser/policy/config_dir_policy_provider_unittest.cc b/chrome/browser/policy/config_dir_policy_provider_unittest.cc |
index 25893da6640a5219eaa5ed00b06fc84b1a9d102c..5d8456cf2bc447a64966b8f2654d31dd8c744c1a 100644 |
--- a/chrome/browser/policy/config_dir_policy_provider_unittest.cc |
+++ b/chrome/browser/policy/config_dir_policy_provider_unittest.cc |
@@ -49,7 +49,7 @@ class ConfigDirPolicyLoaderTest |
// The preferences dictionary is expected to be empty when there are no files to |
// load. |
TEST_F(ConfigDirPolicyLoaderTest, ReadPrefsEmpty) { |
- ConfigDirPolicyLoader loader(test_dir()); |
+ ConfigDirPolicyProviderDelegate loader(test_dir()); |
scoped_ptr<DictionaryValue> policy(loader.Load()); |
EXPECT_TRUE(policy.get()); |
EXPECT_TRUE(policy->empty()); |
@@ -59,7 +59,7 @@ TEST_F(ConfigDirPolicyLoaderTest, ReadPrefsEmpty) { |
// dictionary. |
TEST_F(ConfigDirPolicyLoaderTest, ReadPrefsNonExistentDirectory) { |
FilePath non_existent_dir(test_dir().Append(FILE_PATH_LITERAL("not_there"))); |
- ConfigDirPolicyLoader loader(non_existent_dir); |
+ ConfigDirPolicyProviderDelegate loader(non_existent_dir); |
scoped_ptr<DictionaryValue> policy(loader.Load()); |
EXPECT_TRUE(policy.get()); |
EXPECT_TRUE(policy->empty()); |
@@ -71,7 +71,7 @@ TEST_F(ConfigDirPolicyLoaderTest, ReadPrefsSinglePref) { |
test_dict.SetString("HomepageLocation", "http://www.google.com"); |
WriteConfigFile(test_dict, "config_file"); |
- ConfigDirPolicyLoader loader(test_dir()); |
+ ConfigDirPolicyProviderDelegate loader(test_dir()); |
scoped_ptr<DictionaryValue> policy(loader.Load()); |
EXPECT_TRUE(policy.get()); |
EXPECT_TRUE(policy->Equals(&test_dict)); |
@@ -93,7 +93,7 @@ TEST_F(ConfigDirPolicyLoaderTest, ReadPrefsMergePrefs) { |
for (unsigned int i = 5; i <= 8; ++i) |
WriteConfigFile(test_dict_bar, base::IntToString(i)); |
- ConfigDirPolicyLoader loader(test_dir()); |
+ ConfigDirPolicyProviderDelegate loader(test_dir()); |
scoped_ptr<DictionaryValue> policy(loader.Load()); |
EXPECT_TRUE(policy.get()); |
EXPECT_TRUE(policy->Equals(&test_dict_foo)); |