| Index: chrome/browser/chromeos/arc/arc_policy_bridge.cc
|
| diff --git a/chrome/browser/chromeos/arc/arc_policy_bridge.cc b/chrome/browser/chromeos/arc/arc_policy_bridge.cc
|
| index a65026175e9f26089a926191c9e6f8d666439852..a7054556eebc0a4202f0c24c6e4212230b082c36 100644
|
| --- a/chrome/browser/chromeos/arc/arc_policy_bridge.cc
|
| +++ b/chrome/browser/chromeos/arc/arc_policy_bridge.cc
|
| @@ -47,10 +47,10 @@ void AddPolicy(const std::string arc_policy_name,
|
|
|
| std::string GetFilteredJSONPolicies(const policy::PolicyMap& policy_map) {
|
| base::DictionaryValue filtered_policies;
|
| - // Parse ArcApplicationPolicy as JSON string before adding other policies to
|
| - // the dictionary.
|
| + // Parse ArcPolicy as JSON string before adding other policies to the
|
| + // dictionary.
|
| const base::Value* const app_policy_value =
|
| - policy_map.GetValue(policy::key::kArcApplicationPolicy);
|
| + policy_map.GetValue(policy::key::kArcPolicy);
|
| if (app_policy_value) {
|
| std::string app_policy_string;
|
| app_policy_value->GetAsString(&app_policy_string);
|
| @@ -62,7 +62,7 @@ std::string GetFilteredJSONPolicies(const policy::PolicyMap& policy_map) {
|
| // JSONStringValues which are based on StringPiece instead of string.
|
| filtered_policies.MergeDictionary(app_policy_dict.get());
|
| } else {
|
| - LOG(ERROR) << "Value of ArcApplicationPolicy has invalid format: "
|
| + LOG(ERROR) << "Value of ArcPolicy has invalid format: "
|
| << app_policy_string;
|
| }
|
| }
|
|
|