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

Unified Diff: components/translate/core/browser/translate_experiment.cc

Issue 1877623002: [Translate] Add Thailand to experiment (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/translate/core/browser/translate_experiment.cc
diff --git a/components/translate/core/browser/translate_experiment.cc b/components/translate/core/browser/translate_experiment.cc
index f37fb0cf55dfd3d669e57c07785d409dd51d3bf8..38622c6eb00fc95cc7da526604d44cfcc8cda200 100644
--- a/components/translate/core/browser/translate_experiment.cc
+++ b/components/translate/core/browser/translate_experiment.cc
@@ -42,6 +42,8 @@ void TranslateExperiment::OverrideUiLanguage(const std::string& country,
*ui_lang = "ms";
else if (country == "id")
*ui_lang = "id";
+ else if (country == "th")
+ *ui_lang = "th";
}
// static
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698