Index: chrome/browser/chrome_content_browser_client.cc |
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc |
index 221f0300c369354edb88c0f208ae882bfb34def8..3de8e45fa80fc93197ff4a31d90ad581f7df3d36 100644 |
--- a/chrome/browser/chrome_content_browser_client.cc |
+++ b/chrome/browser/chrome_content_browser_client.cc |
@@ -137,6 +137,8 @@ |
#include "components/dom_distiller/core/dom_distiller_switches.h" |
#include "components/dom_distiller/core/url_constants.h" |
#include "components/error_page/common/error_page_switches.h" |
+#include "components/feature_engagement_tracker/public/feature_constants.h" |
+#include "components/feature_engagement_tracker/public/feature_list.h" |
#include "components/google/core/browser/google_util.h" |
#include "components/metrics/call_stack_profile_collector.h" |
#include "components/metrics/client_info.h" |
@@ -2616,6 +2618,10 @@ void ChromeContentBrowserClient::OverrideWebkitPrefs( |
web_prefs->video_fullscreen_detection_enabled = |
chrome::android::AppHooks::ShouldDetectVideoFullscreen(); |
+ |
+ web_prefs->enable_media_download_in_product_help = |
+ base::FeatureList::IsEnabled( |
+ feature_engagement_tracker::kIPHMediaDownloadFeature); |
#endif // defined(OS_ANDROID) |
for (size_t i = 0; i < extra_parts_.size(); ++i) |