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

Unified Diff: components/translate/core/common/translate_switches.cc

Issue 143003020: Move TranslateLanguageList to the Translate component (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@removeDelegate
Patch Set: rebase Created 6 years, 11 months 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: components/translate/core/common/translate_switches.cc
diff --git a/components/translate/core/common/translate_switches.cc b/components/translate/core/common/translate_switches.cc
index b12e8111c85db67357230f22e8f23d2623554802..71fdf12345b83889398cdd50bd42bffc4e8ff280 100644
--- a/components/translate/core/common/translate_switches.cc
+++ b/components/translate/core/common/translate_switches.cc
@@ -7,6 +7,11 @@
namespace translate {
namespace switches {
+// Allows disabling of translate from the command line to assist with automated
+// browser testing (e.g. Selenium/WebDriver). Normal browser users should
+// disable translate with the preference.
+const char kDisableTranslate[] = "disable-translate";
+
// Overrides security-origin with which Translate runs in an isolated world.
const char kTranslateSecurityOrigin[] = "translate-security-origin";
« no previous file with comments | « components/translate/core/common/translate_switches.h ('k') | tools/gn/secondary/components/translate/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698