| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 CHROME_BROWSER_AUTOCOMPLETE_CHROME_AUTOCOMPLETE_PROVIDER_CLIENT_H_ | 5 #ifndef CHROME_BROWSER_AUTOCOMPLETE_CHROME_AUTOCOMPLETE_PROVIDER_CLIENT_H_ |
| 6 #define CHROME_BROWSER_AUTOCOMPLETE_CHROME_AUTOCOMPLETE_PROVIDER_CLIENT_H_ | 6 #define CHROME_BROWSER_AUTOCOMPLETE_CHROME_AUTOCOMPLETE_PROVIDER_CLIENT_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "chrome/browser/autocomplete/chrome_autocomplete_scheme_classifier.h" | 9 #include "chrome/browser/autocomplete/chrome_autocomplete_scheme_classifier.h" |
| 10 #include "chrome/browser/search_engines/ui_thread_search_terms_data.h" | 10 #include "chrome/browser/search_engines/ui_thread_search_terms_data.h" |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 bookmarks::BookmarkModel* GetBookmarkModel() override; | 27 bookmarks::BookmarkModel* GetBookmarkModel() override; |
| 28 history::URLDatabase* GetInMemoryDatabase() override; | 28 history::URLDatabase* GetInMemoryDatabase() override; |
| 29 InMemoryURLIndex* GetInMemoryURLIndex() override; | 29 InMemoryURLIndex* GetInMemoryURLIndex() override; |
| 30 TemplateURLService* GetTemplateURLService() override; | 30 TemplateURLService* GetTemplateURLService() override; |
| 31 const TemplateURLService* GetTemplateURLService() const override; | 31 const TemplateURLService* GetTemplateURLService() const override; |
| 32 const SearchTermsData& GetSearchTermsData() const override; | 32 const SearchTermsData& GetSearchTermsData() const override; |
| 33 scoped_refptr<ShortcutsBackend> GetShortcutsBackend() override; | 33 scoped_refptr<ShortcutsBackend> GetShortcutsBackend() override; |
| 34 scoped_refptr<ShortcutsBackend> GetShortcutsBackendIfExists() override; | 34 scoped_refptr<ShortcutsBackend> GetShortcutsBackendIfExists() override; |
| 35 std::unique_ptr<KeywordExtensionsDelegate> GetKeywordExtensionsDelegate( | 35 std::unique_ptr<KeywordExtensionsDelegate> GetKeywordExtensionsDelegate( |
| 36 KeywordProvider* keyword_provider) override; | 36 KeywordProvider* keyword_provider) override; |
| 37 PhysicalWebDataSource* GetPhysicalWebDataSource() override; |
| 37 std::string GetAcceptLanguages() const override; | 38 std::string GetAcceptLanguages() const override; |
| 38 std::string GetEmbedderRepresentationOfAboutScheme() override; | 39 std::string GetEmbedderRepresentationOfAboutScheme() override; |
| 39 std::vector<base::string16> GetBuiltinURLs() override; | 40 std::vector<base::string16> GetBuiltinURLs() override; |
| 40 std::vector<base::string16> GetBuiltinsToProvideAsUserTypes() override; | 41 std::vector<base::string16> GetBuiltinsToProvideAsUserTypes() override; |
| 41 bool IsOffTheRecord() const override; | 42 bool IsOffTheRecord() const override; |
| 42 bool SearchSuggestEnabled() const override; | 43 bool SearchSuggestEnabled() const override; |
| 43 bool TabSyncEnabledAndUnencrypted() const override; | 44 bool TabSyncEnabledAndUnencrypted() const override; |
| 44 void Classify( | 45 void Classify( |
| 45 const base::string16& text, | 46 const base::string16& text, |
| 46 bool prefer_keyword, | 47 bool prefer_keyword, |
| (...skipping 10 matching lines...) Expand all Loading... |
| 57 | 58 |
| 58 private: | 59 private: |
| 59 Profile* profile_; | 60 Profile* profile_; |
| 60 ChromeAutocompleteSchemeClassifier scheme_classifier_; | 61 ChromeAutocompleteSchemeClassifier scheme_classifier_; |
| 61 UIThreadSearchTermsData search_terms_data_; | 62 UIThreadSearchTermsData search_terms_data_; |
| 62 | 63 |
| 63 DISALLOW_COPY_AND_ASSIGN(ChromeAutocompleteProviderClient); | 64 DISALLOW_COPY_AND_ASSIGN(ChromeAutocompleteProviderClient); |
| 64 }; | 65 }; |
| 65 | 66 |
| 66 #endif // CHROME_BROWSER_AUTOCOMPLETE_CHROME_AUTOCOMPLETE_PROVIDER_CLIENT_H_ | 67 #endif // CHROME_BROWSER_AUTOCOMPLETE_CHROME_AUTOCOMPLETE_PROVIDER_CLIENT_H_ |
| OLD | NEW |