| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef IOS_CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_PROVIDER_CLIENT_IMPL_H_ | 5 #ifndef IOS_CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_PROVIDER_CLIENT_IMPL_H_ |
| 6 #define IOS_CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_PROVIDER_CLIENT_IMPL_H_ | 6 #define IOS_CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_PROVIDER_CLIENT_IMPL_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "components/omnibox/browser/autocomplete_provider_client.h" | 9 #include "components/omnibox/browser/autocomplete_provider_client.h" |
| 10 #include "ios/chrome/browser/autocomplete/autocomplete_scheme_classifier_impl.h" | 10 #include "ios/chrome/browser/autocomplete/autocomplete_scheme_classifier_impl.h" |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 bookmarks::BookmarkModel* GetBookmarkModel() override; | 32 bookmarks::BookmarkModel* GetBookmarkModel() override; |
| 33 history::URLDatabase* GetInMemoryDatabase() override; | 33 history::URLDatabase* GetInMemoryDatabase() override; |
| 34 InMemoryURLIndex* GetInMemoryURLIndex() override; | 34 InMemoryURLIndex* GetInMemoryURLIndex() override; |
| 35 TemplateURLService* GetTemplateURLService() override; | 35 TemplateURLService* GetTemplateURLService() override; |
| 36 const TemplateURLService* GetTemplateURLService() const override; | 36 const TemplateURLService* GetTemplateURLService() const override; |
| 37 const SearchTermsData& GetSearchTermsData() const override; | 37 const SearchTermsData& GetSearchTermsData() const override; |
| 38 scoped_refptr<ShortcutsBackend> GetShortcutsBackend() override; | 38 scoped_refptr<ShortcutsBackend> GetShortcutsBackend() override; |
| 39 scoped_refptr<ShortcutsBackend> GetShortcutsBackendIfExists() override; | 39 scoped_refptr<ShortcutsBackend> GetShortcutsBackendIfExists() override; |
| 40 std::unique_ptr<KeywordExtensionsDelegate> GetKeywordExtensionsDelegate( | 40 std::unique_ptr<KeywordExtensionsDelegate> GetKeywordExtensionsDelegate( |
| 41 KeywordProvider* keyword_provider) override; | 41 KeywordProvider* keyword_provider) override; |
| 42 PhysicalWebDataSource* GetPhysicalWebDataSource() override; |
| 42 std::string GetAcceptLanguages() const override; | 43 std::string GetAcceptLanguages() const override; |
| 43 std::string GetEmbedderRepresentationOfAboutScheme() override; | 44 std::string GetEmbedderRepresentationOfAboutScheme() override; |
| 44 std::vector<base::string16> GetBuiltinURLs() override; | 45 std::vector<base::string16> GetBuiltinURLs() override; |
| 45 std::vector<base::string16> GetBuiltinsToProvideAsUserTypes() override; | 46 std::vector<base::string16> GetBuiltinsToProvideAsUserTypes() override; |
| 46 bool IsOffTheRecord() const override; | 47 bool IsOffTheRecord() const override; |
| 47 bool SearchSuggestEnabled() const override; | 48 bool SearchSuggestEnabled() const override; |
| 48 bool TabSyncEnabledAndUnencrypted() const override; | 49 bool TabSyncEnabledAndUnencrypted() const override; |
| 49 void Classify( | 50 void Classify( |
| 50 const base::string16& text, | 51 const base::string16& text, |
| 51 bool prefer_keyword, | 52 bool prefer_keyword, |
| (...skipping 10 matching lines...) Expand all Loading... |
| 62 | 63 |
| 63 private: | 64 private: |
| 64 ios::ChromeBrowserState* browser_state_; | 65 ios::ChromeBrowserState* browser_state_; |
| 65 AutocompleteSchemeClassifierImpl scheme_classifier_; | 66 AutocompleteSchemeClassifierImpl scheme_classifier_; |
| 66 ios::UIThreadSearchTermsData search_terms_data_; | 67 ios::UIThreadSearchTermsData search_terms_data_; |
| 67 | 68 |
| 68 DISALLOW_COPY_AND_ASSIGN(AutocompleteProviderClientImpl); | 69 DISALLOW_COPY_AND_ASSIGN(AutocompleteProviderClientImpl); |
| 69 }; | 70 }; |
| 70 | 71 |
| 71 #endif // IOS_CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_PROVIDER_CLIENT_IMPL_H_ | 72 #endif // IOS_CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_PROVIDER_CLIENT_IMPL_H_ |
| OLD | NEW |