Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(172)

Unified Diff: chrome/browser/policy/file_based_policy_provider_unittest.cc

Issue 8258018: Generate Chrome policy definition list from policy_templates.json. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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.

Powered by Google App Engine
This is Rietveld 408576698