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

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: 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 2a6be9e837313660c0a937b99ddaeea48b75a44d..947842ecbc31f5f3854270dfcbdb437b7a209095 100644
--- a/chrome/browser/policy/configuration_policy_handler_list_factory.cc
+++ b/chrome/browser/policy/configuration_policy_handler_list_factory.cc
@@ -410,6 +410,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