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..5139147cae855edd6a854d0341f909f06be17376 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_ID; |
Peter Kasting
2015/12/30 01:52:57
Uggghhhh. This really shouldn't be needed; I don'
gone
2015/12/30 07:29:03
Yeah, when I hit this I was a bit confused about w
|
+} |
+ |
base::string16 GlobalConfirmInfoBar::DelegateProxy::GetMessageText() const { |
return global_info_bar_ ? global_info_bar_->delegate_->GetMessageText() |
: base::string16(); |