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

Unified Diff: trunk/src/chrome/browser/google/google_url_tracker_infobar_delegate.h

Issue 102163002: Revert 238283 "Infobar system refactor." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years 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
Index: trunk/src/chrome/browser/google/google_url_tracker_infobar_delegate.h
===================================================================
--- trunk/src/chrome/browser/google/google_url_tracker_infobar_delegate.h (revision 238401)
+++ trunk/src/chrome/browser/google/google_url_tracker_infobar_delegate.h (working copy)
@@ -14,11 +14,12 @@
// changed.
class GoogleURLTrackerInfoBarDelegate : public ConfirmInfoBarDelegate {
public:
- // Creates a Google URL tracker infobar and delegate and adds the infobar to
- // |infobar_service|. Returns the infobar if it was successfully added.
- static InfoBar* Create(InfoBarService* infobar_service,
- GoogleURLTracker* google_url_tracker,
- const GURL& search_url);
+ // Creates a Google URL tracker infobar delegate and adds it to
+ // |infobar_service|. Returns the delegate if it was successfully added.
+ static GoogleURLTrackerInfoBarDelegate* Create(
+ InfoBarService* infobar_service,
+ GoogleURLTracker* google_url_tracker,
+ const GURL& search_url);
// ConfirmInfoBarDelegate:
virtual bool Accept() OVERRIDE;
@@ -35,7 +36,8 @@
virtual void Close(bool redo_search);
protected:
- GoogleURLTrackerInfoBarDelegate(GoogleURLTracker* google_url_tracker,
+ GoogleURLTrackerInfoBarDelegate(InfoBarService* infobar_service,
+ GoogleURLTracker* google_url_tracker,
const GURL& search_url);
virtual ~GoogleURLTrackerInfoBarDelegate();

Powered by Google App Engine
This is Rietveld 408576698