Index: chrome/browser/search_engines/keyword_editor_controller_unittest.cc |
diff --git a/chrome/browser/search_engines/keyword_editor_controller_unittest.cc b/chrome/browser/search_engines/keyword_editor_controller_unittest.cc |
index e29373ea2dafe9014518d08f520d39959100f235..df49cf00dd1a1e26f936b63ddfa955dcf8996615 100644 |
--- a/chrome/browser/search_engines/keyword_editor_controller_unittest.cc |
+++ b/chrome/browser/search_engines/keyword_editor_controller_unittest.cc |
@@ -68,19 +68,19 @@ class KeywordEditorControllerTest : public testing::Test, |
void SimulateDefaultSearchIsManaged(const std::string& url) { |
ASSERT_FALSE(url.empty()); |
TestingPrefService* service = profile_->GetTestingPrefService(); |
- service->SetManagedPrefWithoutNotification( |
+ service->SetManagedPref( |
prefs::kDefaultSearchProviderEnabled, |
Value::CreateBooleanValue(true)); |
- service->SetManagedPrefWithoutNotification( |
+ service->SetManagedPref( |
prefs::kDefaultSearchProviderSearchURL, |
Value::CreateStringValue(url)); |
- service->SetManagedPrefWithoutNotification( |
+ service->SetManagedPref( |
prefs::kDefaultSearchProviderName, |
Value::CreateStringValue("managed")); |
// Clear the IDs that are not specified via policy. |
- service->SetManagedPrefWithoutNotification( |
+ service->SetManagedPref( |
prefs::kDefaultSearchProviderID, new StringValue("")); |
- service->SetManagedPrefWithoutNotification( |
+ service->SetManagedPref( |
prefs::kDefaultSearchProviderPrepopulateID, new StringValue("")); |
model_->Observe( |
NotificationType::PREF_CHANGED, |