Index: chrome/browser/policy/device_policy_cache.cc |
diff --git a/chrome/browser/policy/device_policy_cache.cc b/chrome/browser/policy/device_policy_cache.cc |
index 2b655043d0a124ca1e93933130695f8b62b25f22..64aa9cb4d6ec8b5be2cc5c3d0faa6b59c44fcc9f 100644 |
--- a/chrome/browser/policy/device_policy_cache.cc |
+++ b/chrome/browser/policy/device_policy_cache.cc |
@@ -524,6 +524,12 @@ void DevicePolicyCache::DecodeReportingPolicies( |
POLICY_SCOPE_MACHINE, |
Value::CreateBooleanValue(container.report_boot_mode())); |
} |
+ if (container.has_report_location()) { |
+ policies->Set(key::kReportDeviceLocation, |
+ POLICY_LEVEL_MANDATORY, |
+ POLICY_SCOPE_MACHINE, |
+ Value::CreateBooleanValue(container.report_location())); |
+ } |
} |
} |
@@ -583,6 +589,14 @@ void DevicePolicyCache::DecodeGenericPolicies( |
POLICY_SCOPE_MACHINE, |
Value::CreateBooleanValue(container.update_disabled())); |
} |
+ |
+ if (container.has_target_version_prefix()) { |
+ policies->Set(key::kDeviceTargetVersionPrefix, |
+ POLICY_LEVEL_MANDATORY, |
+ POLICY_SCOPE_MACHINE, |
+ Value::CreateStringValue( |
+ container.target_version_prefix())); |
+ } |
} |
if (policy.has_start_up_urls()) { |