Chromium Code Reviews| Index: chrome/browser/translate/chrome_translate_client.h |
| diff --git a/chrome/browser/translate/chrome_translate_client.h b/chrome/browser/translate/chrome_translate_client.h |
| index 2bf67d0d77995161f3f997894688ea7317f1c8a4..9a48fdb0236aaf7fe923adb009d0393ee4e0a46b 100644 |
| --- a/chrome/browser/translate/chrome_translate_client.h |
| +++ b/chrome/browser/translate/chrome_translate_client.h |
| @@ -56,6 +56,12 @@ class ChromeTranslateClient |
| static scoped_ptr<translate::TranslatePrefs> CreateTranslatePrefs( |
| PrefService* prefs); |
| + // Helper method to force an override of |
| + // kVariationsPermanentConsistencyCountry. Returns true if the variable has |
|
Alexei Svitkine (slow)
2016/04/20 20:30:23
Nit: No need to say "Helper method". Also, the pre
hamelphi
2016/04/20 21:39:46
Done.
|
| + // been updated. Return false if the override country is the same as the |
| + // stored variable, or if the update failed for any other reason. |
| + static bool OverrideStoredPermanentCountry(const std::string& country); |
| + |
| // Helper method to return the TranslateAcceptLanguages instance associated |
| // with |browser_context|. |
| static translate::TranslateAcceptLanguages* GetTranslateAcceptLanguages( |