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

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

Issue 11570009: Split PrefService into PrefService, PrefServiceSimple and PrefServiceSyncable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to head again, previous had unrelated broken win_rel test. Created 8 years 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 ca6306600b34b181c1134b8f81c4d5423840c17b..bd7ef4e65e41a8bc08705d622a258bd73b2944f1 100644
--- a/chrome/browser/bookmarks/bookmark_prompt_prefs.cc
+++ b/chrome/browser/bookmarks/bookmark_prompt_prefs.cc
@@ -4,7 +4,7 @@
#include "chrome/browser/bookmarks/bookmark_prompt_prefs.h"
-#include "base/prefs/public/pref_service_base.h"
+#include "chrome/browser/prefs/pref_service.h"
#include "chrome/common/pref_names.h"
namespace {
@@ -36,11 +36,11 @@ bool BookmarkPromptPrefs::IsBookmarkPromptEnabled() const {
}
// static
-void BookmarkPromptPrefs::RegisterUserPrefs(PrefServiceBase* user_prefs) {
+void BookmarkPromptPrefs::RegisterUserPrefs(PrefServiceSyncable* user_prefs) {
// We always register preferences without checking FieldTrial, because
// we may not receive field trial list from the server yet.
user_prefs->RegisterBooleanPref(prefs::kBookmarkPromptEnabled, true,
- PrefServiceBase::UNSYNCABLE_PREF);
+ PrefServiceSyncable::UNSYNCABLE_PREF);
user_prefs->RegisterIntegerPref(prefs::kBookmarkPromptImpressionCount, 0,
- PrefServiceBase::UNSYNCABLE_PREF);
+ PrefServiceSyncable::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