| Index: chrome/browser/google/google_url_tracker_map_entry.h
|
| diff --git a/chrome/browser/google/google_url_tracker_map_entry.h b/chrome/browser/google/google_url_tracker_map_entry.h
|
| index 5f087fbe95c6001a70f8c304b773060a4a77fbde..2e035a7a67c56ef495a3df8df75f7c3617314739 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 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 @@
|
| }
|
| 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 @@
|
| 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);
|
| };
|
|
|