blob: d0b65f7a0e3d5ed6a781655cff1c64a8b4f22d5b [file] [log] [blame]
// Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ios/chrome/browser/voice/model/voice_search_prefs_registration.h"
#include "components/pref_registry/pref_registry_syncable.h"
#include "components/prefs/pref_service.h"
#include "ios/chrome/browser/voice/model/voice_search_prefs.h"
void RegisterVoiceSearchBrowserStatePrefs(
user_prefs::PrefRegistrySyncable* registry) {
registry->RegisterStringPref(prefs::kVoiceSearchLocale, std::string(),
user_prefs::PrefRegistrySyncable::SYNCABLE_PREF);
registry->RegisterBooleanPref(prefs::kVoiceSearchTTS, true);
}