Index: chrome/browser/ui/network_profile_bubble.cc |
diff --git a/chrome/browser/ui/network_profile_bubble.cc b/chrome/browser/ui/network_profile_bubble.cc |
index 7f1ec3cc7d55d5ba0cf0421ae881db9542971fb3..c9abc347cf52d87676e4467d44b110c9890133d8 100644 |
--- a/chrome/browser/ui/network_profile_bubble.cc |
+++ b/chrome/browser/ui/network_profile_bubble.cc |
@@ -155,13 +155,11 @@ void NetworkProfileBubble::SetNotificationShown(bool shown) { |
} |
// static |
-void NetworkProfileBubble::RegisterPrefs(PrefService* prefs) { |
- prefs->RegisterIntegerPref(prefs::kNetworkProfileWarningsLeft, |
- kMaxWarnings, |
- PrefService::UNSYNCABLE_PREF); |
- prefs->RegisterInt64Pref(prefs::kNetworkProfileLastWarningTime, |
- 0, |
- PrefService::UNSYNCABLE_PREF); |
+void NetworkProfileBubble::RegisterUserPrefs(PrefServiceSyncable* prefs) { |
+ prefs->RegisterIntegerPref(prefs::kNetworkProfileWarningsLeft, kMaxWarnings, |
+ PrefServiceSyncable::UNSYNCABLE_PREF); |
+ prefs->RegisterInt64Pref(prefs::kNetworkProfileLastWarningTime, 0, |
+ PrefServiceSyncable::UNSYNCABLE_PREF); |
} |
// static |