diff options
Diffstat (limited to 'chrome/browser/google/google_url_tracker_map_entry.h')
-rw-r--r-- | chrome/browser/google/google_url_tracker_map_entry.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/chrome/browser/google/google_url_tracker_map_entry.h b/chrome/browser/google/google_url_tracker_map_entry.h index 5f087fb..2e035a7 100644 --- a/chrome/browser/google/google_url_tracker_map_entry.h +++ b/chrome/browser/google/google_url_tracker_map_entry.h @@ -5,8 +5,6 @@ #ifndef CHROME_BROWSER_GOOGLE_GOOGLE_URL_TRACKER_MAP_ENTRY_H_ #define CHROME_BROWSER_GOOGLE_GOOGLE_URL_TRACKER_MAP_ENTRY_H_ -#include "base/memory/scoped_ptr.h" -#include "chrome/browser/google/google_url_tracker_navigation_helper.h" #include "content/public/browser/notification_observer.h" #include "content/public/browser/notification_registrar.h" @@ -14,12 +12,16 @@ class GoogleURLTracker; class GoogleURLTrackerInfoBarDelegate; class InfoBarService; +namespace content { +class NavigationController; +} + class GoogleURLTrackerMapEntry : public content::NotificationObserver { public: GoogleURLTrackerMapEntry( GoogleURLTracker* google_url_tracker, InfoBarService* infobar_service, - scoped_ptr<GoogleURLTrackerNavigationHelper> navigation_helper); + const content::NavigationController* navigation_controller); virtual ~GoogleURLTrackerMapEntry(); bool has_infobar_delegate() const { return !!infobar_delegate_; } @@ -28,8 +30,8 @@ class GoogleURLTrackerMapEntry : public content::NotificationObserver { } void SetInfoBarDelegate(GoogleURLTrackerInfoBarDelegate* infobar_delegate); - GoogleURLTrackerNavigationHelper* navigation_helper() { - return navigation_helper_.get(); + const content::NavigationController* navigation_controller() const { + return navigation_controller_; } void Close(bool redo_search); @@ -46,7 +48,7 @@ class GoogleURLTrackerMapEntry : public content::NotificationObserver { GoogleURLTracker* const google_url_tracker_; const InfoBarService* const infobar_service_; GoogleURLTrackerInfoBarDelegate* infobar_delegate_; - scoped_ptr<GoogleURLTrackerNavigationHelper> navigation_helper_; + const content::NavigationController* const navigation_controller_; DISALLOW_COPY_AND_ASSIGN(GoogleURLTrackerMapEntry); }; |