Chromium Code Reviews| Index: chrome/browser/policy/file_based_policy_provider_unittest.cc |
| diff --git a/chrome/browser/policy/file_based_policy_provider_unittest.cc b/chrome/browser/policy/file_based_policy_provider_unittest.cc |
| index 45ef9feb8b896852701420bcd95206c7515d2a40..fd3c948530ba0be9eae03af0325538ea56c33d76 100644 |
| --- a/chrome/browser/policy/file_based_policy_provider_unittest.cc |
| +++ b/chrome/browser/policy/file_based_policy_provider_unittest.cc |
| @@ -42,7 +42,7 @@ TEST_F(AsynchronousPolicyTestBase, ProviderInit) { |
| // between the initial load and creating watcher. |
| EXPECT_CALL(*provider_delegate, Load()).WillOnce(Return(policies)); |
| FileBasedPolicyProvider provider( |
| - ConfigurationPolicyPrefStore::GetChromePolicyDefinitionList(), |
| + GetChromePolicyDefinitionList(), |
|
Mattias Nissler (ping if slow)
2011/10/13 14:14:34
fits previous line?
Joao da Silva
2011/10/13 14:40:43
Done.
|
| provider_delegate); |
| loop_.RunAllPending(); |
| PolicyMap policy_map; |
| @@ -61,8 +61,8 @@ TEST_F(AsynchronousPolicyTestBase, ProviderRefresh) { |
| EXPECT_CALL(*provider_delegate, Load()).WillOnce(Return( |
| new DictionaryValue)); |
| FileBasedPolicyProvider file_based_provider( |
| - ConfigurationPolicyPrefStore::GetChromePolicyDefinitionList(), |
| - provider_delegate); |
| + GetChromePolicyDefinitionList(), |
|
Mattias Nissler (ping if slow)
2011/10/13 14:14:34
fits previous line?
Joao da Silva
2011/10/13 14:40:43
Done.
|
| + provider_delegate); |
| // A second call to Load gets triggered during the provider's construction |
| // when the file watcher is initialized, since this file may have changed |
| // between the initial load and creating watcher. |