Index: chrome/browser/upgrade_detector.cc |
diff --git a/chrome/browser/upgrade_detector.cc b/chrome/browser/upgrade_detector.cc |
index acb742f35c10eae16f887074d92f789e716653ca..0f6d8e16c029539193aad17510d6da17ba7d24b3 100644 |
--- a/chrome/browser/upgrade_detector.cc |
+++ b/chrome/browser/upgrade_detector.cc |
@@ -6,8 +6,8 @@ |
#include "base/bind.h" |
#include "base/command_line.h" |
-#include "chrome/browser/prefs/pref_service.h" |
#include "chrome/browser/lifetime/application_lifetime.h" |
+#include "chrome/browser/prefs/pref_registry_simple.h" |
#include "chrome/browser/ui/browser_otr_state.h" |
#include "chrome/common/chrome_notification_types.h" |
#include "chrome/common/chrome_switches.h" |
@@ -32,9 +32,9 @@ bool UseTestingIntervals() { |
} |
// static |
-void UpgradeDetector::RegisterPrefs(PrefServiceSimple* prefs) { |
- prefs->RegisterBooleanPref(prefs::kRestartLastSessionOnShutdown, false); |
- prefs->RegisterBooleanPref(prefs::kWasRestarted, false); |
+void UpgradeDetector::RegisterPrefs(PrefRegistrySimple* registry) { |
+ registry->RegisterBooleanPref(prefs::kRestartLastSessionOnShutdown, false); |
+ registry->RegisterBooleanPref(prefs::kWasRestarted, false); |
} |
int UpgradeDetector::GetIconResourceID(UpgradeNotificationIconType type) { |