| 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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 // String which contains the application version when we last showed the | 132 // String which contains the application version when we last showed the |
| 133 // authorization alert. | 133 // authorization alert. |
| 134 const char kOmniboxGeolocationLastAuthorizationAlertVersion[] = | 134 const char kOmniboxGeolocationLastAuthorizationAlertVersion[] = |
| 135 "ios.omnibox.geolocation_last_authorization_alert_version"; | 135 "ios.omnibox.geolocation_last_authorization_alert_version"; |
| 136 | 136 |
| 137 // Integer which contains the timestamp at which the "Rate This App" dialog was | 137 // Integer which contains the timestamp at which the "Rate This App" dialog was |
| 138 // last shown. | 138 // last shown. |
| 139 const char kRateThisAppDialogLastShownTime[] = | 139 const char kRateThisAppDialogLastShownTime[] = |
| 140 "ios.ratethisapp.dialog_last_shown_time"; | 140 "ios.ratethisapp.dialog_last_shown_time"; |
| 141 | 141 |
| 142 // Index of the entry point that initiated sending the SMS to the user for the |
| 143 // "desktop to iOS" promotion (see DesktopIOSPromotion.IOSSigninReason histogram |
| 144 // for details). |
| 145 const char kDesktopIOSPromotionSMSEntryPoint[] = |
| 146 "ios.desktop_ios_promo_sms_entrypoint"; |
| 147 |
| 148 // Indexes of the entry points presented to the user for "desktop to iOS" |
| 149 // promotion |
| 150 const char kDesktopIOSPromotionShownEntryPoints[] = |
| 151 "ios.desktop_ios_promo_shown_entrypoints"; |
| 152 |
| 153 // Timestamp of the last "desktop to iOS" promotion SMS dispatch or of the last |
| 154 // impression (if no SMS was sent). |
| 155 const char kDesktopIOSPromotionLastImpression[] = |
| 156 "ios.desktop_ios_promo_last_impression"; |
| 157 |
| 158 // True if the "desktop to iOS" promotion was successful, i.e. user installed |
| 159 // the application and signed in after seeing the promotion and receiving the |
| 160 // SMS. |
| 161 const char kDesktopIOSPromotionDone[] = "ios.desktop_ios_promo_done"; |
| 162 |
| 142 } // namespace prefs | 163 } // namespace prefs |
| OLD | NEW |