Index: chrome/browser/devtools/global_confirm_info_bar.cc |
diff --git a/chrome/browser/devtools/global_confirm_info_bar.cc b/chrome/browser/devtools/global_confirm_info_bar.cc |
index 1a88612b17337d43cf6cdce75c20b02f568afefb..79dab812d62c6eb0ebf3ac2f74fda0e6cf1c98a3 100644 |
--- a/chrome/browser/devtools/global_confirm_info_bar.cc |
+++ b/chrome/browser/devtools/global_confirm_info_bar.cc |
@@ -25,6 +25,7 @@ class GlobalConfirmInfoBar::DelegateProxy : public ConfirmInfoBarDelegate { |
friend class GlobalConfirmInfoBar; |
// ConfirmInfoBarDelegate overrides |
+ infobars::InfoBarDelegate::InfoBarIdentifier GetIdentifier() const override; |
base::string16 GetMessageText() const override; |
int GetButtons() const override; |
base::string16 GetButtonLabel(InfoBarButton button) const override; |
@@ -51,6 +52,12 @@ GlobalConfirmInfoBar::DelegateProxy::DelegateProxy( |
GlobalConfirmInfoBar::DelegateProxy::~DelegateProxy() { |
} |
+infobars::InfoBarDelegate::InfoBarIdentifier |
+GlobalConfirmInfoBar::DelegateProxy::GetIdentifier() const { |
+ return global_info_bar_ ? global_info_bar_->delegate_->GetIdentifier() |
+ : INVALID; |
+} |
+ |
base::string16 GlobalConfirmInfoBar::DelegateProxy::GetMessageText() const { |
return global_info_bar_ ? global_info_bar_->delegate_->GetMessageText() |
: base::string16(); |