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

Unified Diff: chrome/browser/speech/chrome_speech_recognition_preferences.cc

Issue 11570009: Split PrefService into PrefService, PrefServiceSimple and PrefServiceSyncable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to head again, previous had unrelated broken win_rel test. Created 8 years 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/speech/chrome_speech_recognition_preferences.cc
diff --git a/chrome/browser/speech/chrome_speech_recognition_preferences.cc b/chrome/browser/speech/chrome_speech_recognition_preferences.cc
index aa58681fd5d3fe3a9f9bc61d463e231fc52c25b5..bf4de55d43b17cf6155dd63eba24c329d438ea16 100644
--- a/chrome/browser/speech/chrome_speech_recognition_preferences.cc
+++ b/chrome/browser/speech/chrome_speech_recognition_preferences.cc
@@ -65,15 +65,15 @@ ChromeSpeechRecognitionPreferences::Factory::BuildServiceInstanceFor(
}
void ChromeSpeechRecognitionPreferences::Factory::RegisterUserPrefs(
- PrefService* prefs) {
+ PrefServiceSyncable* prefs) {
prefs->RegisterBooleanPref(
prefs::kSpeechRecognitionFilterProfanities,
kDefaultFilterProfanities,
- PrefService::UNSYNCABLE_PREF);
+ PrefServiceSyncable::UNSYNCABLE_PREF);
prefs->RegisterListPref(
prefs::kSpeechRecognitionTrayNotificationShownContexts,
- PrefService::UNSYNCABLE_PREF);
+ PrefServiceSyncable::UNSYNCABLE_PREF);
}
bool ChromeSpeechRecognitionPreferences::Factory::
« no previous file with comments | « chrome/browser/speech/chrome_speech_recognition_preferences.h ('k') | chrome/browser/spellchecker/spellcheck_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698