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

Unified Diff: chrome/browser/automation/testing_automation_provider_chromeos.cc

Issue 8258018: Generate Chrome policy definition list from policy_templates.json. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix the unittest fix 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/automation/testing_automation_provider_chromeos.cc
diff --git a/chrome/browser/automation/testing_automation_provider_chromeos.cc b/chrome/browser/automation/testing_automation_provider_chromeos.cc
index 38ccb97fc374fef280439e37c4dda19cfe160d07..51961142a9650a1a31ff9f3dea5b3016d3bf2059 100644
--- a/chrome/browser/automation/testing_automation_provider_chromeos.cc
+++ b/chrome/browser/automation/testing_automation_provider_chromeos.cc
@@ -201,7 +201,7 @@ DictionaryValue* CreateDictionaryWithPolicies(
if (policy_map) {
policy::PolicyMap::const_iterator i;
for (i = policy_map->begin(); i != policy_map->end(); i++)
- dict->Set(policy::key::kMapPolicyString[i->first],
+ dict->Set(policy::GetPolicyName(i->first),
i->second->DeepCopy());
}
}

Powered by Google App Engine
This is Rietveld 408576698