Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(95)

Unified Diff: chrome/browser/api/infobars/infobar_delegate.h

Issue 11748012: Minor cleanup to how infobars handle expiry: (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/api/infobars/infobar_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/api/infobars/infobar_delegate.h
===================================================================
--- chrome/browser/api/infobars/infobar_delegate.h (revision 174909)
+++ chrome/browser/api/infobars/infobar_delegate.h (working copy)
@@ -114,16 +114,12 @@
// using StoreActiveEntryUniqueID automatically.
explicit InfoBarDelegate(InfoBarService* infobar_service);
- // Store the unique id for the active entry in the specified WebContents, to
- // be used later upon navigation to determine if this InfoBarDelegate should
- // be expired from |contents_|.
- void StoreActiveEntryUniqueID(InfoBarService* infobar_service);
+ // Store the unique id for the active entry in our WebContents, to be used
+ // later upon navigation to determine if this InfoBarDelegate should be
+ // expired.
+ void StoreActiveEntryUniqueID();
- // Direct accessors for subclasses that need to do something special.
int contents_unique_id() const { return contents_unique_id_; }
- void set_contents_unique_id(int contents_unique_id) {
- contents_unique_id_ = contents_unique_id;
- }
// Returns true if the navigation is to a new URL or a reload occured.
virtual bool ShouldExpireInternal(
« no previous file with comments | « no previous file | chrome/browser/api/infobars/infobar_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698