| Index: chrome/browser/autocomplete/search_provider_unittest.cc
|
| diff --git a/chrome/browser/autocomplete/search_provider_unittest.cc b/chrome/browser/autocomplete/search_provider_unittest.cc
|
| index ca5a6db91f55d4b8bc81c8cb79543e69a24cea5c..256c1366eb36b123e6e00fd704c5342004e8872e 100644
|
| --- a/chrome/browser/autocomplete/search_provider_unittest.cc
|
| +++ b/chrome/browser/autocomplete/search_provider_unittest.cc
|
| @@ -31,7 +31,6 @@
|
| #include "chrome/common/pref_names.h"
|
| #include "chrome/test/base/testing_browser_process.h"
|
| #include "chrome/test/base/testing_profile.h"
|
| -#include "components/bookmarks/common/bookmark_pref_names.h"
|
| #include "components/browser_sync/browser/profile_sync_service.h"
|
| #include "components/google/core/browser/google_switches.h"
|
| #include "components/history/core/browser/history_service.h"
|
| @@ -3229,26 +3228,6 @@ TEST_F(SearchProviderTest, ParseDeletionUrl) {
|
| }
|
| }
|
|
|
| -TEST_F(SearchProviderTest, ReflectsBookmarkBarState) {
|
| - profile_.GetPrefs()->SetBoolean(bookmarks::prefs::kShowBookmarkBar, false);
|
| - base::string16 term = term1_.substr(0, term1_.length() - 1);
|
| - QueryForInput(term, true, false);
|
| - ASSERT_FALSE(provider_->matches().empty());
|
| - EXPECT_EQ(AutocompleteMatchType::SEARCH_WHAT_YOU_TYPED,
|
| - provider_->matches()[0].type);
|
| - ASSERT_TRUE(provider_->matches()[0].search_terms_args != NULL);
|
| - EXPECT_FALSE(provider_->matches()[0].search_terms_args->bookmark_bar_pinned);
|
| -
|
| - profile_.GetPrefs()->SetBoolean(bookmarks::prefs::kShowBookmarkBar, true);
|
| - term = term1_.substr(0, term1_.length() - 1);
|
| - QueryForInput(term, true, false);
|
| - ASSERT_FALSE(provider_->matches().empty());
|
| - EXPECT_EQ(AutocompleteMatchType::SEARCH_WHAT_YOU_TYPED,
|
| - provider_->matches()[0].type);
|
| - ASSERT_TRUE(provider_->matches()[0].search_terms_args != NULL);
|
| - EXPECT_TRUE(provider_->matches()[0].search_terms_args->bookmark_bar_pinned);
|
| -}
|
| -
|
| TEST_F(SearchProviderTest, CanSendURL) {
|
| TemplateURLData template_url_data;
|
| template_url_data.SetShortName(ASCIIToUTF16("t"));
|
|
|