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

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

Issue 11741003: Remove PrefServiceSimple, replacing it with PrefService and PrefRegistrySimple. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 12 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
Index: chrome/browser/ui/search_engines/keyword_editor_controller.cc
diff --git a/chrome/browser/ui/search_engines/keyword_editor_controller.cc b/chrome/browser/ui/search_engines/keyword_editor_controller.cc
index 592c1255594362e1cbd9abf58f158d1fc4b459eb..3ed2669af956114fc44295c4ffb69848f4499d6e 100644
--- a/chrome/browser/ui/search_engines/keyword_editor_controller.cc
+++ b/chrome/browser/ui/search_engines/keyword_editor_controller.cc
@@ -5,6 +5,7 @@
#include "chrome/browser/ui/search_engines/keyword_editor_controller.h"
#include "base/utf_string_conversions.h"
+#include "chrome/browser/prefs/pref_registrar_simple.h"
#include "chrome/browser/prefs/pref_service.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/search_engines/template_url.h"
@@ -28,7 +29,7 @@ KeywordEditorController::~KeywordEditorController() {
// static
// TODO(rsesek): Other platforms besides Mac should remember window
// placement. http://crbug.com/22269
-void KeywordEditorController::RegisterPrefs(PrefServiceSimple* prefs) {
+void KeywordEditorController::RegisterPrefs(PrefRegistrarSimple* prefs) {
prefs->RegisterDictionaryPref(prefs::kKeywordEditorWindowPlacement);
}

Powered by Google App Engine
This is Rietveld 408576698