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

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: Update production interfaces based on review comments. Created 7 years, 11 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..5383276c404ea28f7f3b2d0372e7d979538773f7 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_registry_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(PrefRegistrySimple* prefs) {
prefs->RegisterDictionaryPref(prefs::kKeywordEditorWindowPlacement);
}

Powered by Google App Engine
This is Rietveld 408576698