| Index: components/translate/core/browser/translate_ui_delegate.h
|
| diff --git a/components/translate/core/browser/translate_ui_delegate.h b/components/translate/core/browser/translate_ui_delegate.h
|
| index 2223d99a53497c05a79f5322e36302cdaa425c5e..1ce6f5c5478d115b8c0a86fda4dcdfacb4d4cc2a 100644
|
| --- a/components/translate/core/browser/translate_ui_delegate.h
|
| +++ b/components/translate/core/browser/translate_ui_delegate.h
|
| @@ -119,6 +119,9 @@ class TranslateUIDelegate {
|
| // translated into the current target language automatically.
|
| void SetAlwaysTranslate(bool value);
|
|
|
| + // Returns true if the Always Translate checkbox should be checked by default.
|
| + bool ShouldAlwaysTranslateBeCheckedByDefault();
|
| +
|
| private:
|
| // Gets the host of the page being translated, or an empty string if no URL is
|
| // associated with the current page.
|
|
|