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

Unified Diff: chrome/browser/bookmarks/bookmark_index.h

Issue 10913262: Implement Bookmark Autocomplete Provider (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Final upload. Created 8 years, 2 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
« no previous file with comments | « chrome/browser/autocomplete/history_provider.cc ('k') | chrome/browser/bookmarks/bookmark_index.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/bookmarks/bookmark_index.h
===================================================================
--- chrome/browser/bookmarks/bookmark_index.h (revision 159706)
+++ chrome/browser/bookmarks/bookmark_index.h (working copy)
@@ -62,8 +62,8 @@
typedef std::pair<const BookmarkNode*, int> NodeTypedCountPair;
typedef std::vector<NodeTypedCountPair> NodeTypedCountPairs;
- // Extracts |matches.nodes| into NodeTypedCountPairs and sorts the pairs in
- // decreasing order of typed count.
+ // Extracts |matches.nodes| into NodeTypedCountPairs, sorts the pairs in
+ // decreasing order of typed count, and then de-dupes the matches.
void SortMatches(const Matches& matches,
NodeTypedCountPairs* node_typed_counts) const;
« no previous file with comments | « chrome/browser/autocomplete/history_provider.cc ('k') | chrome/browser/bookmarks/bookmark_index.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698