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

Unified Diff: chrome/browser/autocomplete/bookmark_provider.h

Issue 184663002: Omnibox: Make URLs of Bookmarks Searchable (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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/autocomplete/bookmark_provider.h
diff --git a/chrome/browser/autocomplete/bookmark_provider.h b/chrome/browser/autocomplete/bookmark_provider.h
index ecd7b705c3c01fcfbe7fc930cc2c21ac13e6b1f2..1ef59e9412a560a00e61ed140955124c5ddfd431 100644
--- a/chrome/browser/autocomplete/bookmark_provider.h
+++ b/chrome/browser/autocomplete/bookmark_provider.h
@@ -13,7 +13,7 @@
#include "chrome/browser/history/snippet.h"
class BookmarkModel;
-struct BookmarkTitleMatch;
+struct BookmarkMatch;
class Profile;
// This class is an autocomplete provider which quickly (and synchronously)
@@ -47,10 +47,10 @@ class BookmarkProvider : public AutocompleteProvider {
// otherwise suggest the top |kMaxMatches| matches.
void DoAutocomplete(const AutocompleteInput& input, bool best_match);
- // Compose an AutocompleteMatch based on |title_match| that has 1) the URL of
+ // Compose an AutocompleteMatch based on |match| that has 1) the URL of
// title_match's bookmark, and 2) the bookmark's title, not the URL's page
// title, as the description.
- AutocompleteMatch TitleMatchToACMatch(const BookmarkTitleMatch& title_match);
+ AutocompleteMatch BookmarkMatchToACMatch(const BookmarkMatch& match);
// Converts |positions| into ACMatchClassifications and returns the
// classifications. |text_length| is used to determine the need to add an
« no previous file with comments | « no previous file | chrome/browser/autocomplete/bookmark_provider.cc » ('j') | chrome/browser/bookmarks/bookmark_match.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698