summaryrefslogtreecommitdiffstats
path: root/chrome/browser/policy/device_policy_cache.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/policy/device_policy_cache.cc')
-rw-r--r--chrome/browser/policy/device_policy_cache.cc18
1 files changed, 0 insertions, 18 deletions
diff --git a/chrome/browser/policy/device_policy_cache.cc b/chrome/browser/policy/device_policy_cache.cc
index 7424a37..1a4ea93 100644
--- a/chrome/browser/policy/device_policy_cache.cc
+++ b/chrome/browser/policy/device_policy_cache.cc
@@ -368,24 +368,6 @@ void DevicePolicyCache::DecodeDevicePolicy(
POLICY_SCOPE_MACHINE,
Value::CreateStringValue(config));
}
-
- if (policy.has_device_reporting()) {
- if (policy.device_reporting().has_report_version_info()) {
- bool enabled = policy.device_reporting().report_version_info();
- policies->Set(key::kReportDeviceVersionInfo,
- POLICY_LEVEL_MANDATORY,
- POLICY_SCOPE_MACHINE,
- Value::CreateBooleanValue(enabled));
- }
- if (policy.device_reporting().has_report_activity_times()) {
- bool enabled = policy.device_reporting().report_activity_times();
- policies->Set(key::kReportDeviceActivityTimes,
- POLICY_LEVEL_MANDATORY,
- POLICY_SCOPE_MACHINE,
- Value::CreateBooleanValue(enabled));
- }
- }
-
}
} // namespace policy