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

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

Issue 2559323002: Add a policy to always show the Cast toolbar icon (Closed)
Patch Set: Address Derek's comments Created 4 years 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 c028993d07a2535feda5e5c495821126f2d00027..653e3e70592e3e31eda74683ab680b152ed33b56 100644
--- a/chrome/browser/policy/configuration_policy_handler_list_factory.cc
+++ b/chrome/browser/policy/configuration_policy_handler_list_factory.cc
@@ -403,6 +403,11 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] = {
{ key::kEnableMediaRouter,
prefs::kEnableMediaRouter,
base::Value::Type::BOOLEAN },
+#if !defined(OS_ANDROID)
+ { key::kShowCastIconInToolbar,
+ prefs::kShowCastIconInToolbar,
+ base::Value::Type::BOOLEAN },
+#endif // !defined(OS_ANDROID)
#endif // defined(ENABLE_MEDIA_ROUTER)
#if BUILDFLAG(ENABLE_WEBRTC)
{ key::kWebRtcUdpPortRange,

Powered by Google App Engine
This is Rietveld 408576698