diff options
author | mpearson@chromium.org <mpearson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-22 17:08:38 +0000 |
---|---|---|
committer | mpearson@chromium.org <mpearson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-22 17:08:38 +0000 |
commit | 32e5b0dd3e99a35bd6334feb5caa36ffbdaa0273 (patch) | |
tree | dd25a309da12d10b0ad59553a148be3b0aaf4672 /chrome/browser/ui/omnibox/omnibox_controller_unittest.cc | |
parent | c55a047e6171c9b9f20e48aceba0ebb260696c0a (diff) | |
download | chromium_src-32e5b0dd3e99a35bd6334feb5caa36ffbdaa0273.zip chromium_src-32e5b0dd3e99a35bd6334feb5caa36ffbdaa0273.tar.gz chromium_src-32e5b0dd3e99a35bd6334feb5caa36ffbdaa0273.tar.bz2 |
Omnibox: Add Shortcuts as InstantExtended Provider
We might as well now that InstantExtended is using the native omnibox.
Besides, it has a positive effect on quality.
For now, I left the framework that allows InstantExtended to use a
different set of providers. I'll leave it up to Jered or Brett to decide
if they're ready to get rid of it.
BUG=252892
Review URL: https://chromiumcodereview.appspot.com/17563007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208071 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/omnibox/omnibox_controller_unittest.cc')
-rw-r--r-- | chrome/browser/ui/omnibox/omnibox_controller_unittest.cc | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/chrome/browser/ui/omnibox/omnibox_controller_unittest.cc b/chrome/browser/ui/omnibox/omnibox_controller_unittest.cc index ad9d9c6..4c855c3 100644 --- a/chrome/browser/ui/omnibox/omnibox_controller_unittest.cc +++ b/chrome/browser/ui/omnibox/omnibox_controller_unittest.cc @@ -69,11 +69,8 @@ TEST_F(OmniboxControllerTest, CheckDefaultAutocompleteProviders) { // Ensure we have at least one provider. ASSERT_NE(0, observed_providers); - // Ensure instant extended includes all the basic ones save for those that are - // not expected to run in instant extended. - int providers_with_instant_extended = - observed_providers & - ~AutocompleteProvider::TYPE_SHORTCUTS; + // Ensure instant extended includes all the provides in classic Chrome. + int providers_with_instant_extended = observed_providers; // TODO(beaudoin): remove TYPE_SEARCH once it's no longer needed to pass // the Instant suggestion through via FinalizeInstantQuery. chrome::EnableInstantExtendedAPIForTesting(); |