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

Unified Diff: chrome/browser/ui/search_engines/keyword_editor_controller_unittest.cc

Issue 7649006: more changes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix another typo Created 9 years, 4 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/translate/translate_prefs.cc ('k') | chrome/browser/ui/shell_dialogs_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/search_engines/keyword_editor_controller_unittest.cc
diff --git a/chrome/browser/ui/search_engines/keyword_editor_controller_unittest.cc b/chrome/browser/ui/search_engines/keyword_editor_controller_unittest.cc
index be902dc5610b2daf7c1b2d6fa2c9f2d455d9e84d..ef54455df4eb2bc7799eab5902d73e57962db47b 100644
--- a/chrome/browser/ui/search_engines/keyword_editor_controller_unittest.cc
+++ b/chrome/browser/ui/search_engines/keyword_editor_controller_unittest.cc
@@ -72,18 +72,18 @@ class KeywordEditorControllerTest : public TestingBrowserProcessTest,
TestingPrefService* service = profile_->GetTestingPrefService();
service->SetManagedPref(
prefs::kDefaultSearchProviderEnabled,
- Value::CreateBooleanValue(true));
+ base::TrueValue());
service->SetManagedPref(
prefs::kDefaultSearchProviderSearchURL,
- Value::CreateStringValue(url));
+ base::StringValue::New(url));
service->SetManagedPref(
prefs::kDefaultSearchProviderName,
- Value::CreateStringValue("managed"));
+ base::StringValue::New("managed"));
// Clear the IDs that are not specified via policy.
service->SetManagedPref(
- prefs::kDefaultSearchProviderID, new StringValue(""));
+ prefs::kDefaultSearchProviderID, base::StringValue::New(""));
service->SetManagedPref(
- prefs::kDefaultSearchProviderPrepopulateID, new StringValue(""));
+ prefs::kDefaultSearchProviderPrepopulateID, base::StringValue::New(""));
model_->Observe(
chrome::NOTIFICATION_PREF_CHANGED,
Source<PrefService>(profile_->GetTestingPrefService()),
« no previous file with comments | « chrome/browser/translate/translate_prefs.cc ('k') | chrome/browser/ui/shell_dialogs_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698