| Index: components/omnibox/browser/shortcuts_provider.h
|
| diff --git a/components/omnibox/browser/shortcuts_provider.h b/components/omnibox/browser/shortcuts_provider.h
|
| index 3344fe36d28d6a49bef689798136151e55a417dc..37506546899e064f5af0154dc7ec9d8ebad3315f 100644
|
| --- a/components/omnibox/browser/shortcuts_provider.h
|
| +++ b/components/omnibox/browser/shortcuts_provider.h
|
| @@ -15,6 +15,7 @@
|
|
|
| class AutocompleteProviderClient;
|
| class ShortcutsProviderTest;
|
| +struct ShortcutMatch;
|
|
|
| // Provider of recently autocompleted links. Provides autocomplete suggestions
|
| // from previously selected suggestions. The more often a user selects a
|
| @@ -52,11 +53,12 @@ class ShortcutsProvider : public AutocompleteProvider,
|
| // contents against |input|, which should be the lower-cased version of
|
| // the user's input. |input| and |fixed_up_input_text| are used to decide
|
| // what can be inlined.
|
| - AutocompleteMatch ShortcutToACMatch(
|
| - const ShortcutsDatabase::Shortcut& shortcut,
|
| - int relevance,
|
| + AutocompleteMatch ShortcutMatchToACMatch(
|
| + const ShortcutMatch& shortcut_match,
|
| const AutocompleteInput& input,
|
| - const base::string16& fixed_up_input_text);
|
| + const base::string16& fixed_up_input_text,
|
| + const base::string16 term_string,
|
| + const WordMap& terms_map);
|
|
|
| // Returns a map mapping characters to groups of words from |text| that start
|
| // with those characters, ordered lexicographically descending so that longer
|
|
|