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

Unified Diff: chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc

Issue 204983009: Deprecate the unused AutoCleanupSettigsProto.clean_up_strategy policy. (Closed) Base URL: https://git.chromium.org/chromium/src.git@master
Patch Set: Created 6 years, 9 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/chromeos/policy/device_policy_decoder_chromeos.cc
diff --git a/chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc b/chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc
index 6f9e60657fa733f09786b31a6b5e108d6cfa05d4..15e570f957413f6a23f3607ecd78aa7cf93a1091 100644
--- a/chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc
+++ b/chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc
@@ -710,18 +710,6 @@ void DecodeGenericPolicies(const em::ChromeDeviceSettingsProto& policy,
NULL);
}
}
- if (policy.has_auto_clean_up_settings()) {
- const em::AutoCleanupSettigsProto& container(
- policy.auto_clean_up_settings());
- if (container.has_clean_up_strategy()) {
- policies->Set(key::kAutoCleanUpStrategy,
- POLICY_LEVEL_MANDATORY,
- POLICY_SCOPE_MACHINE,
- base::Value::CreateStringValue(
- container.clean_up_strategy()),
- NULL);
- }
- }
}
} // namespace

Powered by Google App Engine
This is Rietveld 408576698