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

Unified Diff: chrome/browser/protector/protected_prefs_watcher.cc

Issue 10702040: Cleanup & tests for the mac startup pref migration. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: oops Created 8 years, 6 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/protector/protected_prefs_watcher.cc
diff --git a/chrome/browser/protector/protected_prefs_watcher.cc b/chrome/browser/protector/protected_prefs_watcher.cc
index a58a9934a6d4a02a011f3b0e04ff933c0a4643b5..9ae1a8a4febb6a3d1c22a1f3d6d6aa93f11c5f68 100644
--- a/chrome/browser/protector/protected_prefs_watcher.cc
+++ b/chrome/browser/protector/protected_prefs_watcher.cc
@@ -195,6 +195,7 @@ void ProtectedPrefsWatcher::Observe(
void ProtectedPrefsWatcher::EnsurePrefsMigration() {
SessionStartupPref::MigrateIfNecessary(profile_->GetPrefs());
+ SessionStartupPref::MigrateMacDefaultPrefIfNecessary(profile_->GetPrefs());
}
bool ProtectedPrefsWatcher::UpdateCachedPrefs() {

Powered by Google App Engine
This is Rietveld 408576698