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

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

Issue 2090283002: add experimental param to control the triggering threshold to default Always Translate checked (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: use auto Created 4 years, 6 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/browser/translate_prefs.cc
diff --git a/components/translate/core/browser/translate_prefs.cc b/components/translate/core/browser/translate_prefs.cc
index 83c7cc8e7ecc9253e3352199b870f05c4c1df94a..98cd12a6254bd1c63a239ddf92fd9f51a49805c3 100644
--- a/components/translate/core/browser/translate_prefs.cc
+++ b/components/translate/core/browser/translate_prefs.cc
@@ -35,6 +35,9 @@ const char TranslatePrefs::kPrefTranslateLastDeniedTimeForLanguage[] =
"translate_last_denied_time_for_language";
const char TranslatePrefs::kPrefTranslateTooOftenDeniedForLanguage[] =
"translate_too_often_denied_for_language";
+const char kTranslateUI2016Q2TrialName[] = "TranslateUI2016Q2";
+const char kAlwaysTranslateOfferThreshold[] =
+ "always-translate-offer-threshold";
groby-ooo-7-16 2016/06/28 17:35:20 Our prefs usually use underscores instead of hyphe
ftang 2016/06/28 21:51:12 Done.
// The below properties used to be used but now are deprecated. Don't use them
// since an old profile might have some values there.

Powered by Google App Engine
This is Rietveld 408576698