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

Unified Diff: chrome/browser/bookmarks/bookmark_prompt_prefs.cc

Issue 14622003: components: Move PrefRegistrySyncable into user_prefs namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes Created 7 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
« no previous file with comments | « chrome/browser/bookmarks/bookmark_prompt_prefs.h ('k') | chrome/browser/bookmarks/bookmark_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/bookmarks/bookmark_prompt_prefs.cc
diff --git a/chrome/browser/bookmarks/bookmark_prompt_prefs.cc b/chrome/browser/bookmarks/bookmark_prompt_prefs.cc
index c57e9a0a30f59be62678797551138efd6aaf4650..30876754994318570a9532093141a758ec2041b4 100644
--- a/chrome/browser/bookmarks/bookmark_prompt_prefs.cc
+++ b/chrome/browser/bookmarks/bookmark_prompt_prefs.cc
@@ -33,11 +33,16 @@ bool BookmarkPromptPrefs::IsBookmarkPromptEnabled() const {
}
// static
-void BookmarkPromptPrefs::RegisterUserPrefs(PrefRegistrySyncable* registry) {
+void BookmarkPromptPrefs::RegisterUserPrefs(
+ user_prefs::PrefRegistrySyncable* registry) {
// We always register preferences without checking FieldTrial, because
// we may not receive field trial list from the server yet.
- registry->RegisterBooleanPref(prefs::kBookmarkPromptEnabled, true,
- PrefRegistrySyncable::UNSYNCABLE_PREF);
- registry->RegisterIntegerPref(prefs::kBookmarkPromptImpressionCount, 0,
- PrefRegistrySyncable::UNSYNCABLE_PREF);
+ registry->RegisterBooleanPref(
+ prefs::kBookmarkPromptEnabled,
+ true,
+ user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
+ registry->RegisterIntegerPref(
+ prefs::kBookmarkPromptImpressionCount,
+ 0,
+ user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
}
« no previous file with comments | « chrome/browser/bookmarks/bookmark_prompt_prefs.h ('k') | chrome/browser/bookmarks/bookmark_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698