| Index: chrome/browser/ui/startup/autolaunch_prompt_win.cc
|
| diff --git a/chrome/browser/ui/startup/autolaunch_prompt_win.cc b/chrome/browser/ui/startup/autolaunch_prompt_win.cc
|
| index 9b7e23d504e120ec648497cec840a9fc0f3ce6b1..d3e4f60443d8368b2108d988f847556d73df7e41 100644
|
| --- a/chrome/browser/ui/startup/autolaunch_prompt_win.cc
|
| +++ b/chrome/browser/ui/startup/autolaunch_prompt_win.cc
|
| @@ -48,12 +48,12 @@ class AutolaunchInfoBarDelegate : public ConfirmInfoBarDelegate {
|
|
|
| // ConfirmInfoBarDelegate:
|
| virtual int GetIconID() const override;
|
| + virtual bool ShouldExpireInternal(
|
| + const NavigationDetails& details) const override;
|
| virtual base::string16 GetMessageText() const override;
|
| virtual base::string16 GetButtonLabel(InfoBarButton button) const override;
|
| virtual bool Accept() override;
|
| virtual bool Cancel() override;
|
| - virtual bool ShouldExpireInternal(
|
| - const NavigationDetails& details) const override;
|
|
|
| // Weak pointer to the profile, not owned by us.
|
| Profile* profile_;
|
| @@ -101,6 +101,11 @@ int AutolaunchInfoBarDelegate::GetIconID() const {
|
| return IDR_PRODUCT_LOGO_32;
|
| }
|
|
|
| +bool AutolaunchInfoBarDelegate::ShouldExpireInternal(
|
| + const NavigationDetails& details) const {
|
| + return should_expire_;
|
| +}
|
| +
|
| base::string16 AutolaunchInfoBarDelegate::GetMessageText() const {
|
| return l10n_util::GetStringUTF16(IDS_AUTO_LAUNCH_INFOBAR_TEXT);
|
| }
|
| @@ -123,11 +128,6 @@ bool AutolaunchInfoBarDelegate::Cancel() {
|
| return true;
|
| }
|
|
|
| -bool AutolaunchInfoBarDelegate::ShouldExpireInternal(
|
| - const NavigationDetails& details) const {
|
| - return should_expire_;
|
| -}
|
| -
|
| } // namespace
|
|
|
|
|
|
|