Index: components/infobars/core/infobar_delegate.cc |
diff --git a/components/infobars/core/infobar_delegate.cc b/components/infobars/core/infobar_delegate.cc |
index 4da01aa5eaef7ba885116bbebdd1634666931544..98901ecb9ca2d022db43ad8951938523a8a04533 100644 |
--- a/components/infobars/core/infobar_delegate.cc |
+++ b/components/infobars/core/infobar_delegate.cc |
@@ -21,6 +21,24 @@ namespace infobars { |
const int InfoBarDelegate::kNoIconID = 0; |
+InfoBarDelegate::Detail::Detail() : icon_id(kNoIconID) { |
+} |
+ |
+InfoBarDelegate::Detail::~Detail() { |
+} |
+ |
+InfoBarDelegate::Description::Description() { |
+} |
+ |
+InfoBarDelegate::Description::~Description() { |
+} |
+ |
+InfoBarDelegate::Description::Link::Link() : start(0), end(0) { |
+} |
+ |
+InfoBarDelegate::Description::Link::~Link() { |
+} |
+ |
InfoBarDelegate::~InfoBarDelegate() { |
} |
@@ -59,6 +77,16 @@ gfx::Image InfoBarDelegate::GetIcon() const { |
ResourceBundle::GetSharedInstance().GetNativeImageNamed(icon_id); |
} |
+const std::vector<InfoBarDelegate::Detail>& InfoBarDelegate::GetDetails() |
+ const { |
+ return empty_details_; |
+} |
+ |
+const std::vector<InfoBarDelegate::Description>& |
+InfoBarDelegate::GetDescriptions() const { |
+ return empty_descriptions_; |
+} |
+ |
bool InfoBarDelegate::EqualsDelegate(InfoBarDelegate* delegate) const { |
return false; |
} |