| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "ios/chrome/browser/pref_names.h" | 5 #include "ios/chrome/browser/pref_names.h" |
| 6 | 6 |
| 7 namespace prefs { | 7 namespace prefs { |
| 8 | 8 |
| 9 // The value to use for Accept-Languages HTTP header when making an HTTP | 9 // The value to use for Accept-Languages HTTP header when making an HTTP |
| 10 // request. | 10 // request. |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 // Preference that hold a boolean indicating whether network prediction should | 103 // Preference that hold a boolean indicating whether network prediction should |
| 104 // be limited to wifi (when enabled). | 104 // be limited to wifi (when enabled). |
| 105 const char kNetworkPredictionWifiOnly[] = "ios.dns_prefetching.wifi_only"; | 105 const char kNetworkPredictionWifiOnly[] = "ios.dns_prefetching.wifi_only"; |
| 106 | 106 |
| 107 // Which bookmarks folder should be visible on the new tab page v4. | 107 // Which bookmarks folder should be visible on the new tab page v4. |
| 108 const char kNtpShownBookmarksFolder[] = "ntp.shown_bookmarks_folder"; | 108 const char kNtpShownBookmarksFolder[] = "ntp.shown_bookmarks_folder"; |
| 109 | 109 |
| 110 // True if the memory debugging tools should be visible. | 110 // True if the memory debugging tools should be visible. |
| 111 const char kShowMemoryDebuggingTools[] = "ios.memory.show_debugging_tools"; | 111 const char kShowMemoryDebuggingTools[] = "ios.memory.show_debugging_tools"; |
| 112 | 112 |
| 113 // User preferred speech input language for voice search. | |
| 114 const char kVoiceSearchLocale[] = "ios.speechinput.voicesearch_locale"; | |
| 115 | |
| 116 // Boolean which indicates if TTS after voice search is enabled. | |
| 117 const char kVoiceSearchTTS[] = "ios.speechinput.voicesearch_tts"; | |
| 118 | |
| 119 // List which contains the last known list of accounts. | 113 // List which contains the last known list of accounts. |
| 120 const char kSigninLastAccounts[] = "ios.signin.last_accounts"; | 114 const char kSigninLastAccounts[] = "ios.signin.last_accounts"; |
| 121 | 115 |
| 122 // Boolean which indicates if the pref which contains the last known list of | 116 // Boolean which indicates if the pref which contains the last known list of |
| 123 // accounts was migrated to use account ids instead of emails. | 117 // accounts was migrated to use account ids instead of emails. |
| 124 const char kSigninLastAccountsMigrated[] = "ios.signin.last_accounts_migrated"; | 118 const char kSigninLastAccountsMigrated[] = "ios.signin.last_accounts_migrated"; |
| 125 | 119 |
| 126 // String which contains the user id of the user signed in with shared | 120 // String which contains the user id of the user signed in with shared |
| 127 // authentication. | 121 // authentication. |
| 128 const char kSigninSharedAuthenticationUserId[] = | 122 const char kSigninSharedAuthenticationUserId[] = |
| (...skipping 14 matching lines...) Expand all Loading... |
| 143 // authorization alert. | 137 // authorization alert. |
| 144 const char kOmniboxGeolocationLastAuthorizationAlertVersion[] = | 138 const char kOmniboxGeolocationLastAuthorizationAlertVersion[] = |
| 145 "ios.omnibox.geolocation_last_authorization_alert_version"; | 139 "ios.omnibox.geolocation_last_authorization_alert_version"; |
| 146 | 140 |
| 147 // Integer which contains the timestamp at which the "Rate This App" dialog was | 141 // Integer which contains the timestamp at which the "Rate This App" dialog was |
| 148 // last shown. | 142 // last shown. |
| 149 const char kRateThisAppDialogLastShownTime[] = | 143 const char kRateThisAppDialogLastShownTime[] = |
| 150 "ios.ratethisapp.dialog_last_shown_time"; | 144 "ios.ratethisapp.dialog_last_shown_time"; |
| 151 | 145 |
| 152 } // namespace prefs | 146 } // namespace prefs |
| OLD | NEW |