diff options
author | blundell <blundell@chromium.org> | 2015-08-04 06:54:11 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-08-04 13:56:14 +0000 |
commit | 470d869450f2073d092fe74b2be8e2ff69445dc9 (patch) | |
tree | 8fd5ebc3a9546c57f7817437f82f0695cab5692c /components/omnibox | |
parent | 58b1d0146d23ba2475a1dc550f0a02e8a9a86c74 (diff) | |
download | chromium_src-470d869450f2073d092fe74b2be8e2ff69445dc9.zip chromium_src-470d869450f2073d092fe74b2be8e2ff69445dc9.tar.gz chromium_src-470d869450f2073d092fe74b2be8e2ff69445dc9.tar.bz2 |
Abstract most usage of Profile in OmniboxEditModel
This CL performs straightforward replacement of dependencies acquired via
Profile to be acquired via OmniboxClient instead in OmniboxEditModel;
motivation, as always, is to enable componentization for sharing with iOS.
BUG=514633
Review URL: https://codereview.chromium.org/1271473004
Cr-Commit-Position: refs/heads/master@{#341715}
Diffstat (limited to 'components/omnibox')
-rw-r--r-- | components/omnibox/browser/omnibox_client.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/components/omnibox/browser/omnibox_client.h b/components/omnibox/browser/omnibox_client.h index b7c23c6..02c1755b 100644 --- a/components/omnibox/browser/omnibox_client.h +++ b/components/omnibox/browser/omnibox_client.h @@ -78,6 +78,8 @@ class OmniboxClient { virtual bookmarks::BookmarkModel* GetBookmarkModel() = 0; virtual TemplateURLService* GetTemplateURLService() = 0; + virtual const AutocompleteSchemeClassifier& GetSchemeClassifier() const = 0; + virtual AutocompleteClassifier* GetAutocompleteClassifier() = 0; // Returns the icon corresponding to |match| if match is an extension match // and an empty icon otherwise. |