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

Unified Diff: chrome/browser/ui/omnibox/omnibox_controller_unittest.cc

Issue 17563007: Omnibox: Add Shortcuts as InstantExtended Provider (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix test Created 7 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/omnibox/omnibox_controller_unittest.cc
diff --git a/chrome/browser/ui/omnibox/omnibox_controller_unittest.cc b/chrome/browser/ui/omnibox/omnibox_controller_unittest.cc
index ad9d9c644cdbe3a69a8ff3346bbe405bdcef7275..4c855c3b4b6cd028401f06419a86b229b9ade5f0 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();

Powered by Google App Engine
This is Rietveld 408576698