summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/browser_ui_prefs.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/ui/browser_ui_prefs.cc')
-rw-r--r--chrome/browser/ui/browser_ui_prefs.cc9
1 files changed, 6 insertions, 3 deletions
diff --git a/chrome/browser/ui/browser_ui_prefs.cc b/chrome/browser/ui/browser_ui_prefs.cc
index 19eb514..da8b152 100644
--- a/chrome/browser/ui/browser_ui_prefs.cc
+++ b/chrome/browser/ui/browser_ui_prefs.cc
@@ -141,9 +141,12 @@ void RegisterBrowserUserPrefs(PrefService* prefs) {
prefs->RegisterBooleanPref(prefs::kImportSavedPasswords,
true,
PrefService::UNSYNCABLE_PREF);
- // The map of timestamps of the last used file browser handlers.
- prefs->RegisterDictionaryPref(prefs::kLastUsedFileBrowserHandlers,
- PrefService::UNSYNCABLE_PREF);
+
+ // Dictionaries to keep track of default tasks in the file browser.
+ prefs->RegisterDictionaryPref(prefs::kDefaultTasksByMimeType,
+ PrefService::SYNCABLE_PREF);
+ prefs->RegisterDictionaryPref(prefs::kDefaultTasksBySuffix,
+ PrefService::SYNCABLE_PREF);
// We need to register the type of these preferences in order to query
// them even though they're only typically controlled via policy.