| Index: chrome/browser/ui/startup/default_browser_infobar_delegate.h
|
| diff --git a/chrome/browser/ui/startup/default_browser_infobar_delegate.h b/chrome/browser/ui/startup/default_browser_infobar_delegate.h
|
| index 99b7ffd64c03ea38a1110b93a81f168e00402b84..9b56c47501900e5f4b45fdd475fcf41c9fe6444f 100644
|
| --- a/chrome/browser/ui/startup/default_browser_infobar_delegate.h
|
| +++ b/chrome/browser/ui/startup/default_browser_infobar_delegate.h
|
| @@ -46,6 +46,8 @@ class DefaultBrowserInfoBarDelegate : public ConfirmInfoBarDelegate {
|
| CANCEL_INFO_BAR = 1,
|
| // The user did not interact with the info bar.
|
| IGNORE_INFO_BAR = 2,
|
| + // The user explicitly closed the infobar.
|
| + DISMISS_INFO_BAR = 3,
|
| NUM_INFO_BAR_USER_INTERACTION_TYPES
|
| };
|
|
|
| @@ -85,6 +87,9 @@ class DefaultBrowserInfoBarDelegate : public ConfirmInfoBarDelegate {
|
| // Whether the info bar should be dismissed on the next navigation.
|
| bool should_expire_;
|
|
|
| + // Indicates if the user interacted with the infobar.
|
| + bool action_taken_;
|
| +
|
| // Used to delay the expiration of the info-bar.
|
| base::WeakPtrFactory<DefaultBrowserInfoBarDelegate> weak_factory_;
|
|
|
|
|