Chromium Code Reviews| Index: components/omnibox/autocomplete_provider_client.h |
| diff --git a/components/omnibox/autocomplete_provider_client.h b/components/omnibox/autocomplete_provider_client.h |
| index 0cbdc07688f1192e44e9b2dea53551d2d98e8de8..ce217f00b93cb1e4908f099736ccfc7076a51743 100644 |
| --- a/components/omnibox/autocomplete_provider_client.h |
| +++ b/components/omnibox/autocomplete_provider_client.h |
| @@ -13,7 +13,12 @@ struct AutocompleteMatch; |
| class AutocompleteSchemeClassifier; |
| class GURL; |
| +namespace bookmarks { |
| +class BookmarkModel; |
| +} |
| + |
| namespace history { |
| +class HistoryService; |
| class URLDatabase; |
| } |
| @@ -44,6 +49,12 @@ class AutocompleteProviderClient { |
| // Returns the scheme classifier. |
| virtual const AutocompleteSchemeClassifier& SchemeClassifier() = 0; |
| + // Returns the HistoryService. |
| + virtual history::HistoryService* HistoryService() = 0; |
| + |
| + // Returns the bookmarks:BookmarkModel |
|
Peter Kasting
2015/06/16 00:03:43
Nit: Trailing period (but I would remove these com
blundell
2015/06/16 07:21:25
Added period (I'll do the other change on the reor
|
| + virtual bookmarks::BookmarkModel* BookmarkModel() = 0; |
| + |
| // Given some string |text| that the user wants to use for navigation, |
| // determines how it should be interpreted. |
| virtual void Classify( |