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

Unified Diff: chrome/browser/ui/network_profile_bubble.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/ui/network_profile_bubble.h ('k') | chrome/browser/ui/prefs/prefs_tab_helper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 3e8b9fcf83d06c85d21daca80a4c9ddea5b174cf..fa8cfe8f092b99a1ab123e378b4a0111e349e561 100644
--- a/chrome/browser/ui/network_profile_bubble.cc
+++ b/chrome/browser/ui/network_profile_bubble.cc
@@ -157,13 +157,16 @@ void NetworkProfileBubble::SetNotificationShown(bool shown) {
}
// static
-void NetworkProfileBubble::RegisterUserPrefs(PrefRegistrySyncable* registry) {
- registry->RegisterIntegerPref(prefs::kNetworkProfileWarningsLeft,
- kMaxWarnings,
- PrefRegistrySyncable::UNSYNCABLE_PREF);
- registry->RegisterInt64Pref(prefs::kNetworkProfileLastWarningTime,
- 0,
- PrefRegistrySyncable::UNSYNCABLE_PREF);
+void NetworkProfileBubble::RegisterUserPrefs(
+ user_prefs::PrefRegistrySyncable* registry) {
+ registry->RegisterIntegerPref(
+ prefs::kNetworkProfileWarningsLeft,
+ kMaxWarnings,
+ user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
+ registry->RegisterInt64Pref(
+ prefs::kNetworkProfileLastWarningTime,
+ 0,
+ user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
}
// static
« no previous file with comments | « chrome/browser/ui/network_profile_bubble.h ('k') | chrome/browser/ui/prefs/prefs_tab_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698