Index: components/translate/core/browser/translate_manager.cc |
diff --git a/components/translate/core/browser/translate_manager.cc b/components/translate/core/browser/translate_manager.cc |
index f09b9d7f8caa2b9f94933238af989b88c1b473be..a9970118034e3e73f40a23708807374f4f75ff40 100644 |
--- a/components/translate/core/browser/translate_manager.cc |
+++ b/components/translate/core/browser/translate_manager.cc |
@@ -188,15 +188,6 @@ void TranslateManager::InitiateTranslation(const std::string& page_lang) { |
return; |
} |
- // Allow disabling of translate from the command line to assist with |
- // automated browser testing. |
- if (base::CommandLine::ForCurrentProcess()->HasSwitch( |
- translate::switches::kDisableTranslate)) { |
- TranslateBrowserMetrics::ReportInitiationStatus( |
- TranslateBrowserMetrics::INITIATION_STATUS_DISABLED_BY_SWITCH); |
- return; |
- } |
- |
// MHTML pages currently cannot be translated. |
// See bug: 217945. |
if (translate_driver_->GetContentsMimeType() == "multipart/related") { |