Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "ios/chrome/browser/voice/voice_search_prefs_registration.h" | |
| 6 | |
| 7 #include "components/pref_registry/pref_registry_syncable.h" | |
| 8 #include "components/prefs/pref_service.h" | |
| 9 #include "ios/public/provider/chrome/browser/voice/voice_search_prefs.h" | |
| 10 | |
| 11 void RegisterVoiceSearchBrowserStatePrefs( | |
| 12 user_prefs::PrefRegistrySyncable* registry) { | |
| 13 registry->RegisterStringPref(prefs::kVoiceSearchLocale, "", | |
|
sdefresne
2016/10/26 17:23:07
s/""/std::string()/
rohitrao (ping after 24h)
2016/10/26 18:19:56
Done.
| |
| 14 user_prefs::PrefRegistrySyncable::SYNCABLE_PREF); | |
| 15 registry->RegisterBooleanPref(prefs::kVoiceSearchTTS, true); | |
| 16 } | |
| OLD | NEW |