| Index: chrome/browser/chromeos/audio/audio_handler.cc
|
| diff --git a/chrome/browser/chromeos/audio/audio_handler.cc b/chrome/browser/chromeos/audio/audio_handler.cc
|
| index bb10933a9e4210502f93a353e8571e8ce84190cb..6d3da0dfb15ca791db39a3a5cbed76b2b7992b17 100644
|
| --- a/chrome/browser/chromeos/audio/audio_handler.cc
|
| +++ b/chrome/browser/chromeos/audio/audio_handler.cc
|
| @@ -78,30 +78,26 @@ AudioHandler* AudioHandler::GetInstance() {
|
| }
|
|
|
| // static
|
| -void AudioHandler::RegisterPrefs(PrefService* local_state) {
|
| +void AudioHandler::RegisterPrefs(PrefServiceSimple* local_state) {
|
| if (!local_state->FindPreference(prefs::kAudioVolumePercent)) {
|
| local_state->RegisterDoublePref(prefs::kAudioVolumePercent,
|
| - kDefaultVolumePercent,
|
| - PrefService::UNSYNCABLE_PREF);
|
| + kDefaultVolumePercent);
|
| }
|
| if (!local_state->FindPreference(prefs::kAudioMute)) {
|
| local_state->RegisterIntegerPref(prefs::kAudioMute,
|
| - kPrefMuteOff,
|
| - PrefService::UNSYNCABLE_PREF);
|
| + kPrefMuteOff);
|
| }
|
|
|
| if (!local_state->FindPreference(prefs::kAudioOutputAllowed)) {
|
| // Register the prefs backing the audio muting policies.
|
| local_state->RegisterBooleanPref(prefs::kAudioOutputAllowed,
|
| - true,
|
| - PrefService::UNSYNCABLE_PREF);
|
| + true);
|
| }
|
| // This pref has moved to the media subsystem but we should verify it is there
|
| // before we use it.
|
| if (!local_state->FindPreference(prefs::kAudioCaptureAllowed)) {
|
| local_state->RegisterBooleanPref(prefs::kAudioCaptureAllowed,
|
| - true,
|
| - PrefService::UNSYNCABLE_PREF);
|
| + true);
|
| }
|
| }
|
|
|
|
|