Index: chrome/browser/ui/search/search_tab_helper.h |
diff --git a/chrome/browser/ui/search/search_tab_helper.h b/chrome/browser/ui/search/search_tab_helper.h |
index 681d57874bb85893f4410e0de457a2b4327f0f2e..7666c45524e6f623edb9f776a92d629eb6f5993f 100644 |
--- a/chrome/browser/ui/search/search_tab_helper.h |
+++ b/chrome/browser/ui/search/search_tab_helper.h |
@@ -5,13 +5,10 @@ |
#ifndef CHROME_BROWSER_UI_SEARCH_SEARCH_TAB_HELPER_H_ |
#define CHROME_BROWSER_UI_SEARCH_SEARCH_TAB_HELPER_H_ |
-#include <vector> |
- |
#include "base/basictypes.h" |
#include "base/compiler_specific.h" |
#include "base/gtest_prod_util.h" |
#include "chrome/browser/ui/search/search_model.h" |
-#include "chrome/common/instant_types.h" |
#include "content/public/browser/notification_observer.h" |
#include "content/public/browser/notification_registrar.h" |
#include "content/public/browser/web_contents_observer.h" |
@@ -53,11 +50,6 @@ class SearchTabHelper : public content::NotificationObserver, |
// the notification system and shouldn't call this method. |
void NavigationEntryUpdated(); |
- // Updates |last_known_most_visited_items_| with |items|. |
- // Returns false if |items| matches the |last_known_most_visited_items_|. |
- bool UpdateLastKnownMostVisitedItems( |
- const std::vector<InstantMostVisitedItem>& items); |
- |
// Invoked to update the instant support state. |
void InstantSupportChanged(bool supports_instant); |
@@ -121,10 +113,6 @@ class SearchTabHelper : public content::NotificationObserver, |
content::WebContents* web_contents_; |
- // Tracks the last set of most visited items sent to the InstantPage renderer. |
- // Used to prevent sending duplicate IPC messages to the renderer. |
- std::vector<InstantMostVisitedItem> last_known_most_visited_items_; |
- |
DISALLOW_COPY_AND_ASSIGN(SearchTabHelper); |
}; |