OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "chrome/common/pref_names.h" | 5 #include "chrome/common/pref_names.h" |
6 | 6 |
7 #include "base/macros.h" | 7 #include "base/macros.h" |
8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
9 #include "chrome/common/features.h" | 9 #include "chrome/common/features.h" |
10 #include "chrome/common/pref_font_webkit_names.h" | 10 #include "chrome/common/pref_font_webkit_names.h" |
(...skipping 2377 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2388 | 2388 |
2389 #if defined(OS_WIN) | 2389 #if defined(OS_WIN) |
2390 // True if the user is eligible to recieve "desktop to iOS" promotion. | 2390 // True if the user is eligible to recieve "desktop to iOS" promotion. |
2391 const char kIOSPromotionEligible[] = "ios.desktoptomobileeligible"; | 2391 const char kIOSPromotionEligible[] = "ios.desktoptomobileeligible"; |
2392 | 2392 |
2393 // True if the "desktop to iOS" promotion was successful, i.e. user installed | 2393 // True if the "desktop to iOS" promotion was successful, i.e. user installed |
2394 // the application and signed in after seeing the promotion and receiving the | 2394 // the application and signed in after seeing the promotion and receiving the |
2395 // SMS. | 2395 // SMS. |
2396 const char kIOSPromotionDone[] = "ios.desktop_ios_promo_done"; | 2396 const char kIOSPromotionDone[] = "ios.desktop_ios_promo_done"; |
2397 | 2397 |
| 2398 // Index of the entry point that last initiated sending the SMS to the user for |
| 2399 // the "desktop to iOS" promotion (see DesktopIOSPromotion.IOSSigninReason |
| 2400 // histogram for details). |
| 2401 const char kIOSPromotionSMSEntryPoint[] = |
| 2402 "ios.desktop_ios_promo_sms_entrypoint"; |
| 2403 |
| 2404 // Indexes of all the entry points presented to the user for "desktop to iOS" |
| 2405 // promotion |
| 2406 const char kIOSPromotionShownEntryPoints[] = |
| 2407 "ios.desktop_ios_promo_shown_entrypoints"; |
| 2408 |
| 2409 // Timestamp of the last "desktop to iOS" promotion last impression, |
| 2410 // This is the same time of SMS sending if the user optin to send SMS. |
| 2411 const char kIOSPromotionLastImpression[] = |
| 2412 "ios.desktop_ios_promo_last_impression"; |
| 2413 |
2398 // Number of times user has seen the "desktop to iOS" save passwords bubble | 2414 // Number of times user has seen the "desktop to iOS" save passwords bubble |
2399 // promotion. | 2415 // promotion. |
2400 const char kNumberSavePasswordsBubbleIOSPromoShown[] = | 2416 const char kNumberSavePasswordsBubbleIOSPromoShown[] = |
2401 "savepasswords_bubble_ios_promo_shown_count"; | 2417 "savepasswords_bubble_ios_promo_shown_count"; |
2402 | 2418 |
2403 // True if the user has dismissed the "desktop to iOS" save passwords bubble | 2419 // True if the user has dismissed the "desktop to iOS" save passwords bubble |
2404 // promotion. | 2420 // promotion. |
2405 const char kSavePasswordsBubbleIOSPromoDismissed[] = | 2421 const char kSavePasswordsBubbleIOSPromoDismissed[] = |
2406 "savepasswords_bubble_ios_promo_dismissed"; | 2422 "savepasswords_bubble_ios_promo_dismissed"; |
2407 | 2423 |
(...skipping 19 matching lines...) Expand all Loading... |
2427 | 2443 |
2428 // Number of times user has seen the "desktop to iOS" history page promotion. | 2444 // Number of times user has seen the "desktop to iOS" history page promotion. |
2429 const char kNumberHistoryPageIOSPromoShown[] = | 2445 const char kNumberHistoryPageIOSPromoShown[] = |
2430 "history_page_ios_promo_shown_count"; | 2446 "history_page_ios_promo_shown_count"; |
2431 | 2447 |
2432 // True if the user has dismissed the "desktop to iOS" history page promotion. | 2448 // True if the user has dismissed the "desktop to iOS" history page promotion. |
2433 const char kHistoryPageIOSPromoDismissed[] = "history_page_ios_promo_dismissed"; | 2449 const char kHistoryPageIOSPromoDismissed[] = "history_page_ios_promo_dismissed"; |
2434 #endif | 2450 #endif |
2435 | 2451 |
2436 } // namespace prefs | 2452 } // namespace prefs |
OLD | NEW |