Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(443)

Side by Side Diff: chrome/browser/autocomplete/chrome_autocomplete_provider_client.h

Issue 2203993002: Add a Physical Web omnibox autocomplete provider (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: data source changes Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698