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

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: Self review 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 293ad5005a774d9779d8106c84ad66400385598e..a043b88b9347b6dcd8300adfbe39a2564e02c620 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