| Index: components/translate/core/browser/translate_prefs.h
|
| diff --git a/components/translate/core/browser/translate_prefs.h b/components/translate/core/browser/translate_prefs.h
|
| index ada3725d4f9d683a1bf7a06e3d5ef50a88b62585..61a35d83a83cb4f59b4bfcd6fb3defc5a5a3e41e 100644
|
| --- a/components/translate/core/browser/translate_prefs.h
|
| +++ b/components/translate/core/browser/translate_prefs.h
|
| @@ -94,6 +94,9 @@ class TranslatePrefs {
|
| const char* accept_languages_pref,
|
| const char* preferred_languages_pref);
|
|
|
| + // Checks if the translate feature is enabled.
|
| + bool IsEnabled() const;
|
| +
|
| // Sets the country that the application is run in. Determined by the
|
| // VariationsService, can be left empty. Used by TranslateExperiment.
|
| void SetCountry(const std::string& country);
|
|
|