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

Unified Diff: chrome/browser/search_engines/search_provider_install_data_unittest.cc

Issue 11570009: Split PrefService into PrefService, PrefServiceSimple and PrefServiceSyncable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to head again, previous had unrelated broken win_rel test. Created 8 years 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/search_engines/search_provider_install_data_unittest.cc
diff --git a/chrome/browser/search_engines/search_provider_install_data_unittest.cc b/chrome/browser/search_engines/search_provider_install_data_unittest.cc
index df75f9c9716608f6e378a81f2f51cc4eff9b440d..9680acc8c8de9cfc3fe5e60223c32b2e79cd6c79 100644
--- a/chrome/browser/search_engines/search_provider_install_data_unittest.cc
+++ b/chrome/browser/search_engines/search_provider_install_data_unittest.cc
@@ -217,7 +217,8 @@ void SearchProviderInstallDataTest::TearDown() {
void SearchProviderInstallDataTest::SimulateDefaultSearchIsManaged(
const std::string& url) {
ASSERT_FALSE(url.empty());
- TestingPrefService* service = util_.profile()->GetTestingPrefService();
+ TestingPrefServiceSyncable* service =
+ util_.profile()->GetTestingPrefService();
service->SetManagedPref(prefs::kDefaultSearchProviderEnabled,
Value::CreateBooleanValue(true));
service->SetManagedPref(prefs::kDefaultSearchProviderSearchURL,
« no previous file with comments | « chrome/browser/renderer_host/web_cache_manager.cc ('k') | chrome/browser/search_engines/template_url_prepopulate_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698