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

Unified Diff: components/omnibox/browser/bookmark_provider.h

Issue 2569333003: Rename BookmarkIndex to TitledUrlIndex and BookmarkMatch to TitledUrlMatch (Closed)
Patch Set: fix bookmark_bridge.cc Created 4 years 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 | « components/bookmarks/browser/titled_url_match.cc ('k') | components/omnibox/browser/bookmark_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/omnibox/browser/bookmark_provider.h
diff --git a/components/omnibox/browser/bookmark_provider.h b/components/omnibox/browser/bookmark_provider.h
index 228400f130df3a97c4f4bc5fad8d29a6339bc07c..bb2c71b087304c65b99187037ac5b986dfacf6b5 100644
--- a/components/omnibox/browser/bookmark_provider.h
+++ b/components/omnibox/browser/bookmark_provider.h
@@ -20,7 +20,7 @@ class AutocompleteProviderClient;
namespace bookmarks {
class BookmarkModel;
-struct BookmarkMatch;
+struct TitledUrlMatch;
}
// This class is an autocomplete provider which quickly (and synchronously)
@@ -60,10 +60,10 @@ class BookmarkProvider : public AutocompleteProvider {
// title, as the description. |input| is used to compute the match's
// inline_autocompletion. |fixed_up_input_text| is used in that way as well;
// it's passed separately so this function doesn't have to compute it.
- AutocompleteMatch BookmarkMatchToACMatch(
+ AutocompleteMatch TitledUrlMatchToACMatch(
const AutocompleteInput& input,
const base::string16& fixed_up_input_text,
- const bookmarks::BookmarkMatch& match);
+ const bookmarks::TitledUrlMatch& 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 | « components/bookmarks/browser/titled_url_match.cc ('k') | components/omnibox/browser/bookmark_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698