| Index: chrome/browser/autocomplete/history_url_provider.h
|
| diff --git a/chrome/browser/autocomplete/history_url_provider.h b/chrome/browser/autocomplete/history_url_provider.h
|
| index b42faf335d4ce1013ce4ef4d58b38b0106a9bb0e..610d35bd467f9b023a03825ec1ff78a2bd4130d7 100644
|
| --- a/chrome/browser/autocomplete/history_url_provider.h
|
| +++ b/chrome/browser/autocomplete/history_url_provider.h
|
| @@ -291,6 +291,12 @@ class HistoryURLProvider : public HistoryProvider {
|
| MatchType match_type,
|
| int relevance);
|
|
|
| + // Returns a set of classifications that highlight all the occurrences
|
| + // of |input_text| at word breaks in |description|.
|
| + static ACMatchClassifications ClassifyDescription(
|
| + const string16& input_text,
|
| + const string16& description);
|
| +
|
| // Params for the current query. The provider should not free this directly;
|
| // instead, it is passed as a parameter through the history backend, and the
|
| // parameter itself is freed once it's no longer needed. The only reason we
|
|
|