Index: chrome/browser/translate/translate_prefs.cc |
diff --git a/chrome/browser/translate/translate_prefs.cc b/chrome/browser/translate/translate_prefs.cc |
index d9cb616346b765269f7b0acfb472d30dd20ee751..0831128e2cba742a9400966529fa3b03ab74b95a 100644 |
--- a/chrome/browser/translate/translate_prefs.cc |
+++ b/chrome/browser/translate/translate_prefs.cc |
@@ -174,17 +174,21 @@ bool TranslatePrefs::ShouldAutoTranslate(PrefService* user_prefs, |
return prefs.IsLanguageWhitelisted(original_language, target_language); |
} |
-void TranslatePrefs::RegisterUserPrefs(PrefRegistrySyncable* registry) { |
+void TranslatePrefs::RegisterUserPrefs( |
+ user_prefs::PrefRegistrySyncable* registry) { |
registry->RegisterListPref(kPrefTranslateLanguageBlacklist, |
- PrefRegistrySyncable::SYNCABLE_PREF); |
+ user_prefs::PrefRegistrySyncable::SYNCABLE_PREF); |
registry->RegisterListPref(kPrefTranslateSiteBlacklist, |
- PrefRegistrySyncable::SYNCABLE_PREF); |
- registry->RegisterDictionaryPref(kPrefTranslateWhitelists, |
- PrefRegistrySyncable::SYNCABLE_PREF); |
- registry->RegisterDictionaryPref(kPrefTranslateDeniedCount, |
- PrefRegistrySyncable::SYNCABLE_PREF); |
- registry->RegisterDictionaryPref(kPrefTranslateAcceptedCount, |
- PrefRegistrySyncable::SYNCABLE_PREF); |
+ user_prefs::PrefRegistrySyncable::SYNCABLE_PREF); |
+ registry->RegisterDictionaryPref( |
+ kPrefTranslateWhitelists, |
+ user_prefs::PrefRegistrySyncable::SYNCABLE_PREF); |
+ registry->RegisterDictionaryPref( |
+ kPrefTranslateDeniedCount, |
+ user_prefs::PrefRegistrySyncable::SYNCABLE_PREF); |
+ registry->RegisterDictionaryPref( |
+ kPrefTranslateAcceptedCount, |
+ user_prefs::PrefRegistrySyncable::SYNCABLE_PREF); |
} |
void TranslatePrefs::MigrateUserPrefs(PrefService* user_prefs) { |