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

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: '' Created 7 years, 7 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 8d2a8cb7ba47a01d9126e754e0431d4ec10e40db..9e68ab1a1cbebd0dea11f938171d3e7fbd046961 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;
@@ -222,6 +223,11 @@ bool DefaultSearchProviderSupportsInstant(Profile* profile);
// once.
void ResetInstantExtendedOptInStateGateForTest();
+// Returns true if |new_items| and |old_items| are equal.
Jered 2013/05/31 17:34:33 Instead of "new" and "old", you can just call thes
kmadhusu 2013/06/04 02:36:01 Done.
+bool AreMostVisitedItemsEqual(
+ const std::vector<InstantMostVisitedItem>& new_items,
+ const std::vector<InstantMostVisitedItem>& old_items);
+
} // namespace chrome
#endif // CHROME_BROWSER_SEARCH_SEARCH_H_

Powered by Google App Engine
This is Rietveld 408576698