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

Unified Diff: trunk/src/chrome/browser/google/google_url_tracker.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.h
===================================================================
--- trunk/src/chrome/browser/google/google_url_tracker.h (revision 238401)
+++ trunk/src/chrome/browser/google/google_url_tracker.h (working copy)
@@ -21,7 +21,6 @@
#include "url/gurl.h"
class GoogleURLTrackerNavigationHelper;
-class InfoBar;
class PrefService;
class Profile;
@@ -176,11 +175,13 @@
scoped_ptr<GoogleURLTrackerNavigationHelper> nav_helper_;
- // Creates an infobar and adds it to the provided InfoBarService. Returns the
- // infobar on success or NULL on failure. The caller does not own the
- // returned object, the InfoBarService does.
- base::Callback<InfoBar*(InfoBarService*, GoogleURLTracker*, const GURL&)>
- infobar_creator_;
+ // Creates an infobar delegate and adds it to the provided InfoBarService.
+ // Returns the delegate pointer on success or NULL on failure. The caller
+ // does not own the returned object, the InfoBarService does.
+ base::Callback<GoogleURLTrackerInfoBarDelegate*(
+ InfoBarService*,
+ GoogleURLTracker*,
+ const GURL&)> infobar_creator_;
GURL google_url_;
GURL fetched_google_url_;

Powered by Google App Engine
This is Rietveld 408576698