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

Unified Diff: chrome/browser/chromeos/customization_document.cc

Issue 11741003: Remove PrefServiceSimple, replacing it with PrefService and PrefRegistrySimple. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address review comments. Fix Clang build and fix bug shown by trybots. Created 7 years, 11 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/chromeos/customization_document.cc
diff --git a/chrome/browser/chromeos/customization_document.cc b/chrome/browser/chromeos/customization_document.cc
index 6230b791ede2215ef784fd28c869feeacd0fe62b..17c8a6fc608c6e54622ae4b4b522a4c6c7c7fa3e 100644
--- a/chrome/browser/chromeos/customization_document.cc
+++ b/chrome/browser/chromeos/customization_document.cc
@@ -19,6 +19,7 @@
#include "chrome/browser/chromeos/cros/network_library.h"
#include "chrome/browser/chromeos/login/wizard_controller.h"
#include "chrome/browser/chromeos/system/statistics_provider.h"
+#include "chrome/browser/prefs/pref_registry_simple.h"
#include "chrome/browser/prefs/pref_service.h"
#include "chrome/browser/profiles/profile_manager.h"
#include "content/public/browser/browser_thread.h"
@@ -249,8 +250,8 @@ ServicesCustomizationDocument* ServicesCustomizationDocument::GetInstance() {
// static
void ServicesCustomizationDocument::RegisterPrefs(
- PrefServiceSimple* local_state) {
- local_state->RegisterBooleanPref(kServicesCustomizationAppliedPref, false);
+ PrefRegistrySimple* registry) {
+ registry->RegisterBooleanPref(kServicesCustomizationAppliedPref, false);
}
// static

Powered by Google App Engine
This is Rietveld 408576698