|
|
Get rid of the ability to unregister preferences.
This was being used only in a couple of places that were clearing or
migrating old prefs, and as far as I understand, it is not necessary,
especially if we hide the names of those old prefs from users outside
of the class that clears them.
Also, do registrations of the prefs being migrated at up-front
registration time rather than in the migration functions.
TBR=ivankr@chromium.org
BUG= 155525
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=183816
Total comments: 1
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+97 lines, -130 lines) |
Patch |
 |
M |
base/prefs/pref_registry.h
|
View
|
|
3 chunks |
+6 lines, -13 lines |
0 comments
|
Download
|
 |
M |
base/prefs/pref_registry.cc
|
View
|
|
1 chunk |
+0 lines, -15 lines |
0 comments
|
Download
|
 |
M |
base/prefs/pref_service.h
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
base/prefs/pref_service.cc
|
View
|
|
3 chunks |
+1 line, -14 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/login/oauth2_login_manager.h
|
View
|
|
3 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/login/oauth2_login_manager.cc
|
View
|
|
3 chunks |
+19 lines, -13 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/prefs/browser_prefs.cc
|
View
|
1
2
|
4 chunks |
+17 lines, -9 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/prefs/pref_model_associator.h
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/prefs/pref_model_associator.cc
|
View
|
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/prefs/pref_service_syncable.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/prefs/pref_service_syncable.cc
|
View
|
|
1 chunk |
+0 lines, -7 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/prefs/prefs_tab_helper.h
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/prefs/prefs_tab_helper.cc
|
View
|
|
1 chunk |
+5 lines, -7 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/prefs/prefs_tab_helper_browsertest.cc
|
View
|
1
|
2 chunks |
+44 lines, -28 lines |
0 comments
|
Download
|
 |
M |
chrome/common/pref_names.h
|
View
|
1
2
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/common/pref_names.cc
|
View
|
1
2
|
1 chunk |
+0 lines, -6 lines |
0 comments
|
Download
|
Total messages: 8 (0 generated)
|