Index: components/infobars/core/infobar_delegate.h |
diff --git a/components/infobars/core/infobar_delegate.h b/components/infobars/core/infobar_delegate.h |
index bd7455f02198511f521ebff61d928b1ad4a6a0f7..5d5ff375139bb63ce7ccaad844bd65ddb15c591d 100644 |
--- a/components/infobars/core/infobar_delegate.h |
+++ b/components/infobars/core/infobar_delegate.h |
@@ -127,24 +127,12 @@ class InfoBarDelegate { |
void set_infobar(InfoBar* infobar) { infobar_ = infobar; } |
- // Store the unique id for the active entry, to be used later upon navigation |
- // to determine if this InfoBarDelegate should be expired. |
- void StoreActiveEntryUniqueID(); |
- |
protected: |
InfoBarDelegate(); |
- // Returns true if the navigation is to a new URL or a reload occured. |
- virtual bool ShouldExpireInternal(const NavigationDetails& details) const; |
- |
- int contents_unique_id() const { return contents_unique_id_; } |
InfoBar* infobar() { return infobar_; } |
private: |
- // The unique id of the active NavigationEntry of the WebContents that we were |
- // opened for. Used to help expire on navigations. |
- int contents_unique_id_; |
- |
// The InfoBar associated with us. |
InfoBar* infobar_; |