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

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

Issue 6905044: Refactor preference syncing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix the previous fix Created 9 years, 8 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 0c98b0f6ea0afaa591c7d5a18ea8f2b18f7f2333..488e3f965887bc93a4df396f722f90677e4cd47c 100644
--- a/chrome/browser/ui/search_engines/keyword_editor_controller.cc
+++ b/chrome/browser/ui/search_engines/keyword_editor_controller.cc
@@ -25,7 +25,8 @@ KeywordEditorController::~KeywordEditorController() {
// TODO(rsesek): Other platforms besides Mac should remember window
// placement. http://crbug.com/22269
void KeywordEditorController::RegisterPrefs(PrefService* prefs) {
- prefs->RegisterDictionaryPref(prefs::kKeywordEditorWindowPlacement);
+ prefs->RegisterDictionaryPref(prefs::kKeywordEditorWindowPlacement,
+ false /* don't sync pref */);
}
int KeywordEditorController::AddTemplateURL(const string16& title,

Powered by Google App Engine
This is Rietveld 408576698