Chromium Code Reviews| 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..9609e805bd6b4916a1ca034009b656af3ff059a6 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" |
|
Mattias Nissler (ping if slow)
2013/01/31 14:50:45
required?
Jói
2013/01/31 16:23:37
Done.
|
| #include "chrome/browser/profiles/profile.h" |
| #include "chrome/browser/search_engines/template_url.h" |
| @@ -28,8 +29,8 @@ KeywordEditorController::~KeywordEditorController() { |
| // static |
| // TODO(rsesek): Other platforms besides Mac should remember window |
| // placement. http://crbug.com/22269 |
| -void KeywordEditorController::RegisterPrefs(PrefServiceSimple* prefs) { |
| - prefs->RegisterDictionaryPref(prefs::kKeywordEditorWindowPlacement); |
| +void KeywordEditorController::RegisterPrefs(PrefRegistrySimple* registry) { |
| + registry->RegisterDictionaryPref(prefs::kKeywordEditorWindowPlacement); |
| } |
| int KeywordEditorController::AddTemplateURL(const string16& title, |