Index: chrome/browser/search/instant_unittest_base.cc |
diff --git a/chrome/browser/search/instant_unittest_base.cc b/chrome/browser/search/instant_unittest_base.cc |
index 38aedb4d0c0999d8962364bbf1f190200d423def..bedbaef80943125ac6ed4b4dd2953d6a3e53537a 100644 |
--- a/chrome/browser/search/instant_unittest_base.cc |
+++ b/chrome/browser/search/instant_unittest_base.cc |
@@ -14,9 +14,7 @@ |
#include "chrome/browser/search/search.h" |
#include "chrome/browser/search_engines/template_url_service_factory.h" |
#include "chrome/browser/search_engines/ui_thread_search_terms_data.h" |
-#include "chrome/common/pref_names.h" |
#include "chrome/test/base/browser_with_test_window_test.h" |
-#include "chrome/test/base/testing_pref_service_syncable.h" |
#include "chrome/test/base/ui_test_utils.h" |
#include "components/google/core/browser/google_pref_names.h" |
#include "components/google/core/browser/google_url_tracker.h" |
@@ -96,9 +94,6 @@ void InstantUnitTestBase::SetUpHelper() { |
ui_test_utils::WaitForTemplateURLServiceToLoad(template_url_service_); |
UIThreadSearchTermsData::SetGoogleBaseURL("https://www.google.com/"); |
- TestingPrefServiceSyncable* pref_service = profile()->GetTestingPrefService(); |
- pref_service->SetUserPref(prefs::kLastPromptedGoogleURL, |
- new base::StringValue("https://www.google.com/")); |
SetUserSelectedDefaultSearchProvider("{google:baseURL}"); |
instant_service_ = InstantServiceFactory::GetForProfile(profile()); |
} |