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 0a963d1a4ed28f1bc00619cb9caf989bb3bb6465..337658ea6410e75a4266171d435f3359fe38330e 100644 |
--- a/chrome/browser/chrome_content_browser_client.cc |
+++ b/chrome/browser/chrome_content_browser_client.cc |
@@ -135,6 +135,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" |
@@ -1910,6 +1912,14 @@ void ChromeContentBrowserClient::AppendExtraCommandLineSwitches( |
task_scheduler_util::AddVariationParamsToCommandLine("Renderer", |
command_line); |
} |
+ |
+ if (process_type == switches::kRendererProcess && |
+ base::FeatureList::IsEnabled( |
+ feature_engagement_tracker::kIPHMediaDownloadFeature)) { |
+ LOG(ERROR) << "Appending SWITCH FOR RENDEREREREREREFFBKEIVFBOUE"; |
+ command_line->AppendSwitch( |
+ feature_engagement_tracker::kEnableMediaDownloadIPH); |
+ } |
} |
std::string ChromeContentBrowserClient::GetApplicationLocale() { |