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

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

Issue 9111022: Removed ConfigurationPolicyType and extended PolicyMap. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 12 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 0a91757d318af47795fb10ec9a1b343832ec4459..b201de50083f437e4ed2eeb01b9dfc796080563c 100644
--- a/chrome/browser/automation/testing_automation_provider_chromeos.cc
+++ b/chrome/browser/automation/testing_automation_provider_chromeos.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -195,8 +195,7 @@ DictionaryValue* CreateDictionaryWithPolicies(
if (policy_map) {
policy::PolicyMap::const_iterator i;
for (i = policy_map->begin(); i != policy_map->end(); i++)
- dict->Set(policy::GetPolicyName(i->first),
- i->second->DeepCopy());
+ dict->Set(i->first), i->second->value->DeepCopy());
Mattias Nissler (ping if slow) 2012/01/16 18:23:33 I think this won't compile.
Joao da Silva 2012/01/17 13:09:29 Done.
}
}
return dict;

Powered by Google App Engine
This is Rietveld 408576698