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

Unified Diff: chrome/browser/google/google_url_tracker.h

Issue 240193003: Move Infobars core files to the Infobars component (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix nib name on mac Created 6 years, 8 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
Index: chrome/browser/google/google_url_tracker.h
diff --git a/chrome/browser/google/google_url_tracker.h b/chrome/browser/google/google_url_tracker.h
index e4b5e9f33b2a2dc467853aba091df6d874d3577b..ab930003369eb8a6b51b4177d195f2914145e5b8 100644
--- a/chrome/browser/google/google_url_tracker.h
+++ b/chrome/browser/google/google_url_tracker.h
@@ -21,7 +21,6 @@
#include "url/gurl.h"
class GoogleURLTrackerNavigationHelper;
-class InfoBar;
class PrefService;
class Profile;
@@ -29,6 +28,10 @@ namespace content {
class NavigationController;
}
+namespace infobars {
+class InfoBar;
+}
+
// This object is responsible for checking the Google URL once per network
// change, and if necessary prompting the user to see if they want to change to
// using it. The current and last prompted values are saved to prefs.
@@ -179,7 +182,8 @@ class GoogleURLTracker : public net::URLFetcherDelegate,
// 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&)>
+ base::Callback<
+ infobars::InfoBar*(InfoBarService*, GoogleURLTracker*, const GURL&)>
infobar_creator_;
GURL google_url_;
« no previous file with comments | « chrome/browser/geolocation/geolocation_infobar_delegate.cc ('k') | chrome/browser/google/google_url_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698