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

Unified Diff: chrome/browser/policy/configuration_policy_handler_list_factory.cc

Issue 1834783003: Added the SuppressUnsupportedOSWarning policy setting. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixed policy_test_cases Created 4 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/policy/configuration_policy_handler_list_factory.cc
diff --git a/chrome/browser/policy/configuration_policy_handler_list_factory.cc b/chrome/browser/policy/configuration_policy_handler_list_factory.cc
index 5ee927fe1bd8154b116de3d86e7e71bb3957b04d..947978bb90f75a7f179a9aa4ec1913665408b30c 100644
--- a/chrome/browser/policy/configuration_policy_handler_list_factory.cc
+++ b/chrome/browser/policy/configuration_policy_handler_list_factory.cc
@@ -547,6 +547,12 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] = {
prefs::kWelcomePageOnOSUpgradeEnabled,
base::Value::TYPE_BOOLEAN },
#endif // OS_WIN
+
+#if !defined(OS_ANDROID)
+ { key::kSuppressUnsupportedOSWarning,
+ prefs::kSuppressUnsupportedOSWarning,
+ base::Value::TYPE_BOOLEAN },
+#endif // !OS_ANDROID
};
class ForceSafeSearchPolicyHandler : public TypeCheckingPolicyHandler {

Powered by Google App Engine
This is Rietveld 408576698