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

Unified Diff: chrome/browser/ui/views/search/search_view_controller_browsertest.cc

Issue 11262015: Remove unused / unnecessary stuff from Instant. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove SuggestedTextView entirely Created 8 years, 2 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
« no previous file with comments | « chrome/browser/ui/views/omnibox/omnibox_view_win.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/search/search_view_controller_browsertest.cc
diff --git a/chrome/browser/ui/views/search/search_view_controller_browsertest.cc b/chrome/browser/ui/views/search/search_view_controller_browsertest.cc
index 4ae7400d3ae507ac3c5ab5794db3813bbc5751db..320c7c16d122ea58dd1916ec84954ca2a60771fd 100644
--- a/chrome/browser/ui/views/search/search_view_controller_browsertest.cc
+++ b/chrome/browser/ui/views/search/search_view_controller_browsertest.cc
@@ -11,7 +11,6 @@
#include "chrome/browser/bookmarks/bookmark_model_factory.h"
#include "chrome/browser/bookmarks/bookmark_utils.h"
#include "chrome/browser/instant/instant_controller.h"
-#include "chrome/browser/prefs/pref_service.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/browser_commands.h"
@@ -24,7 +23,6 @@
#include "chrome/browser/ui/view_ids.h"
#include "chrome/common/chrome_notification_types.h"
#include "chrome/common/chrome_switches.h"
-#include "chrome/common/pref_names.h"
#include "chrome/test/base/in_process_browser_test.h"
#include "chrome/test/base/ui_test_utils.h"
@@ -220,8 +218,6 @@ IN_PROC_BROWSER_TEST_F(SearchViewControllerTest,
MAYBE(NTPToInstantSuggestions)) {
AVOID_TEST_ON_BRANDED_CHROME();
- PrefService* service = browser()->profile()->GetPrefs();
- service->SetBoolean(prefs::kInstantEnabled, true);
EXPECT_TRUE(InstantController::IsInstantEnabled(browser()->profile()));
// Initial state.
« no previous file with comments | « chrome/browser/ui/views/omnibox/omnibox_view_win.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698