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

Unified Diff: chrome/browser/search/search.h

Issue 15907006: Rip out browser-side RID caching for most visited items. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments Created 7 years, 6 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/search/search.h
diff --git a/chrome/browser/search/search.h b/chrome/browser/search/search.h
index 16fca8d40d8632861d13537a2515707225514ff1..a015225e1a2fc633e78c2345df51f2741f17ca02 100644
--- a/chrome/browser/search/search.h
+++ b/chrome/browser/search/search.h
@@ -11,6 +11,7 @@
#include "base/basictypes.h"
#include "base/string16.h"
+#include "chrome/common/instant_types.h"
class GURL;
class Profile;
@@ -228,6 +229,11 @@ bool DefaultSearchProviderSupportsInstant(Profile* profile);
// once.
void ResetInstantExtendedOptInStateGateForTest();
+// Returns true if |items_a| and |items_b| are equal.
+bool AreMostVisitedItemsEqual(
+ const std::vector<InstantMostVisitedItem>& items_a,
+ const std::vector<InstantMostVisitedItem>& items_b);
+
} // namespace chrome
#endif // CHROME_BROWSER_SEARCH_SEARCH_H_

Powered by Google App Engine
This is Rietveld 408576698