Index: chrome/browser/ui/views/passwords/manage_passwords_bubble_view.h |
diff --git a/chrome/browser/ui/views/passwords/manage_passwords_bubble_view.h b/chrome/browser/ui/views/passwords/manage_passwords_bubble_view.h |
index 34874f4b85ee1aad3ab74d237942dfe87c3d6767..e40a5aa48bf0ea79d2c2b654109d938d4f0ed33f 100644 |
--- a/chrome/browser/ui/views/passwords/manage_passwords_bubble_view.h |
+++ b/chrome/browser/ui/views/passwords/manage_passwords_bubble_view.h |
@@ -45,10 +45,16 @@ class ManagePasswordsBubbleView : public ManagePasswordsBubble, |
content::WebContents* web_contents() const; |
+#if defined(UNIT_TEST) |
const View* initially_focused_view() const { |
return initially_focused_view_; |
} |
+ static void set_auto_signin_toast_timeout(int seconds) { |
+ auto_signin_toast_timeout_ = seconds; |
+ } |
+#endif |
+ |
private: |
class AccountChooserView; |
class AutoSigninView; |
@@ -100,6 +106,9 @@ class ManagePasswordsBubbleView : public ManagePasswordsBubble, |
// be deleted when the bubble closes. |
static ManagePasswordsBubbleView* manage_passwords_bubble_; |
+ // The timeout in seconds for the auto sign-in toast. |
+ static int auto_signin_toast_timeout_; |
+ |
ManagePasswordsIconView* anchor_view_; |
views::View* initially_focused_view_; |