| Index: chrome/browser/extensions/api/debugger/debugger_api.cc
|
| ===================================================================
|
| --- chrome/browser/extensions/api/debugger/debugger_api.cc (revision 174909)
|
| +++ chrome/browser/extensions/api/debugger/debugger_api.cc (working copy)
|
| @@ -71,10 +71,10 @@
|
|
|
| private:
|
| // ConfirmInfoBarDelegate:
|
| - virtual bool ShouldExpire(
|
| - const content::LoadCommittedDetails& details) const OVERRIDE;
|
| virtual int GetButtons() const OVERRIDE;
|
| virtual Type GetInfoBarType() const OVERRIDE;
|
| + virtual bool ShouldExpireInternal(
|
| + const content::LoadCommittedDetails& details) const OVERRIDE;
|
| virtual string16 GetMessageText() const OVERRIDE;
|
| virtual void InfoBarDismissed() OVERRIDE;
|
| virtual bool Cancel() OVERRIDE;
|
| @@ -363,11 +363,6 @@
|
| client_host_ = NULL;
|
| }
|
|
|
| -bool ExtensionDevToolsInfoBarDelegate::ShouldExpire(
|
| - const content::LoadCommittedDetails& details) const {
|
| - return false;
|
| -}
|
| -
|
| int ExtensionDevToolsInfoBarDelegate::GetButtons() const {
|
| return BUTTON_CANCEL;
|
| }
|
| @@ -376,6 +371,11 @@
|
| return WARNING_TYPE;
|
| }
|
|
|
| +bool ExtensionDevToolsInfoBarDelegate::ShouldExpireInternal(
|
| + const content::LoadCommittedDetails& details) const {
|
| + return false;
|
| +}
|
| +
|
| string16 ExtensionDevToolsInfoBarDelegate::GetMessageText() const {
|
| return l10n_util::GetStringFUTF16(IDS_DEV_TOOLS_INFOBAR_LABEL,
|
| UTF8ToUTF16(client_name_));
|
|
|