Index: components/translate/core/browser/translate_infobar_delegate.h |
diff --git a/components/translate/core/browser/translate_infobar_delegate.h b/components/translate/core/browser/translate_infobar_delegate.h |
index 1e48a64e7cccbc9ec29470f119a16c9e9b035120..c0cdc37448c4579e8352a65fc8c998bebfef92b9 100644 |
--- a/components/translate/core/browser/translate_infobar_delegate.h |
+++ b/components/translate/core/browser/translate_infobar_delegate.h |
@@ -167,6 +167,10 @@ class TranslateInfoBarDelegate : public infobars::InfoBarDelegate { |
bool ShouldShowNeverTranslateShortcut(); |
bool ShouldShowAlwaysTranslateShortcut(); |
+ // Called by translate compact infobar. This check whether we should |
+ // automatically trigger "Always Translate". |
+ bool ShouldAutoAlwaysTranslate(); |
+ |
#if defined(OS_IOS) |
// Shows the Infobar offering to never translate the language or the site. |
void ShowNeverTranslateInfobar(); |