Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(942)

Side by Side Diff: chrome/common/pref_names.cc

Issue 2694893002: Integrate SMS service with Desktop iOS promotion (Closed)
Patch Set: passwords and histogram changes Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 // Bit mask that represents the Indices of all the entry points shown to the
2405 // user for "desktop to iOS" promotion. Each entry point is represented by
2406 // 1<<entrypoint_value using the values from the Enum
2407 // desktop_ios_promotion::PromotionEntryPoint.
2408 const char kIOSPromotionShownEntryPoints[] =
2409 "ios.desktop_ios_promo_shown_entrypoints";
2410
2411 // Timestamp of the last "desktop to iOS" promotion last impression,
2412 // This is the same time of SMS sending if the user optin to send SMS.
2413 const char kIOSPromotionLastImpression[] =
2414 "ios.desktop_ios_promo_last_impression";
2415
2398 // Number of times user has seen the "desktop to iOS" save passwords bubble 2416 // Number of times user has seen the "desktop to iOS" save passwords bubble
2399 // promotion. 2417 // promotion.
2400 const char kNumberSavePasswordsBubbleIOSPromoShown[] = 2418 const char kNumberSavePasswordsBubbleIOSPromoShown[] =
2401 "savepasswords_bubble_ios_promo_shown_count"; 2419 "savepasswords_bubble_ios_promo_shown_count";
2402 2420
2403 // True if the user has dismissed the "desktop to iOS" save passwords bubble 2421 // True if the user has dismissed the "desktop to iOS" save passwords bubble
2404 // promotion. 2422 // promotion.
2405 const char kSavePasswordsBubbleIOSPromoDismissed[] = 2423 const char kSavePasswordsBubbleIOSPromoDismissed[] =
2406 "savepasswords_bubble_ios_promo_dismissed"; 2424 "savepasswords_bubble_ios_promo_dismissed";
2407 2425
(...skipping 19 matching lines...) Expand all
2427 2445
2428 // Number of times user has seen the "desktop to iOS" history page promotion. 2446 // Number of times user has seen the "desktop to iOS" history page promotion.
2429 const char kNumberHistoryPageIOSPromoShown[] = 2447 const char kNumberHistoryPageIOSPromoShown[] =
2430 "history_page_ios_promo_shown_count"; 2448 "history_page_ios_promo_shown_count";
2431 2449
2432 // True if the user has dismissed the "desktop to iOS" history page promotion. 2450 // True if the user has dismissed the "desktop to iOS" history page promotion.
2433 const char kHistoryPageIOSPromoDismissed[] = "history_page_ios_promo_dismissed"; 2451 const char kHistoryPageIOSPromoDismissed[] = "history_page_ios_promo_dismissed";
2434 #endif 2452 #endif
2435 2453
2436 } // namespace prefs 2454 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698