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

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

Issue 2694893002: Integrate SMS service with Desktop iOS promotion (Closed)
Patch Set: nits 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
« no previous file with comments | « chrome/common/pref_names.h ('k') | chrome/test/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 2390 matching lines...) Expand 10 before | Expand all | Expand 10 after
2401 // default search engine, if it is the Google search engine. 2401 // default search engine, if it is the Google search engine.
2402 const char kGoogleDSEGeolocationSetting[] = "google_dse_geolocation_setting"; 2402 const char kGoogleDSEGeolocationSetting[] = "google_dse_geolocation_setting";
2403 2403
2404 // A dictionary of manifest URLs of Web Share Targets to a dictionary containing 2404 // A dictionary of manifest URLs of Web Share Targets to a dictionary containing
2405 // attributes of its share_target field found in its manifest. Each key in the 2405 // attributes of its share_target field found in its manifest. Each key in the
2406 // dictionary is the name of the attribute, and the value is the corresponding 2406 // dictionary is the name of the attribute, and the value is the corresponding
2407 // value. 2407 // value.
2408 const char kWebShareVisitedTargets[] = "profile.web_share.visited_targets"; 2408 const char kWebShareVisitedTargets[] = "profile.web_share.visited_targets";
2409 2409
2410 #if defined(OS_WIN) 2410 #if defined(OS_WIN)
2411 // True if the user is eligible to recieve "desktop to iOS" promotion. 2411 // True if the user is eligible to recieve "desktop to iOS" promotion. This
2412 // vlaue is set by a job that access the growth table to check users with iOS
2413 // devices and phone recovery number and update the eligibility on chrome sync.
2412 const char kIOSPromotionEligible[] = "ios.desktoptomobileeligible"; 2414 const char kIOSPromotionEligible[] = "ios.desktoptomobileeligible";
2413 2415
2414 // True if the "desktop to iOS" promotion was successful, i.e. user installed 2416 // True if the "desktop to iOS" promotion was successful, i.e. user installed
2415 // the application and signed in after seeing the promotion and receiving the 2417 // the application and signed in on the iOS client after seeing the promotion
2416 // SMS. 2418 // and receiving the SMS.
2417 const char kIOSPromotionDone[] = "ios.desktop_ios_promo_done"; 2419 const char kIOSPromotionDone[] = "ios.desktop_ios_promo_done";
2418 2420
2421 // Index of the entry point that last initiated sending the SMS to the user for
2422 // the "desktop to iOS" promotion (see DesktopIOSPromotion.IOSSigninReason
2423 // histogram for details).
2424 const char kIOSPromotionSMSEntryPoint[] =
2425 "ios.desktop_ios_promo_sms_entrypoint";
2426
2427 // Bit mask that represents the Indices of all the entry points shown to the
2428 // user for "desktop to iOS" promotion. Each entry point is represented by
2429 // 1<<entrypoint_value using the values from the Enum
2430 // desktop_ios_promotion::PromotionEntryPoint.
2431 const char kIOSPromotionShownEntryPoints[] =
2432 "ios.desktop_ios_promo_shown_entrypoints";
2433
2434 // Timestamp of the last "desktop to iOS" promotion last impression. If the
2435 // user sends SMS on that impression then we deal with this timestamp as the
2436 // SMS sending time because after sending the sms the user shouldn't see the
2437 // promotion again (Accuracy to the minutes and seconds is not important).
2438 const char kIOSPromotionLastImpression[] =
2439 "ios.desktop_ios_promo_last_impression";
2440
2419 // Number of times user has seen the "desktop to iOS" save passwords bubble 2441 // Number of times user has seen the "desktop to iOS" save passwords bubble
2420 // promotion. 2442 // promotion.
2421 const char kNumberSavePasswordsBubbleIOSPromoShown[] = 2443 const char kNumberSavePasswordsBubbleIOSPromoShown[] =
2422 "savepasswords_bubble_ios_promo_shown_count"; 2444 "savepasswords_bubble_ios_promo_shown_count";
2423 2445
2424 // True if the user has dismissed the "desktop to iOS" save passwords bubble 2446 // True if the user has dismissed the "desktop to iOS" save passwords bubble
2425 // promotion. 2447 // promotion.
2426 const char kSavePasswordsBubbleIOSPromoDismissed[] = 2448 const char kSavePasswordsBubbleIOSPromoDismissed[] =
2427 "savepasswords_bubble_ios_promo_dismissed"; 2449 "savepasswords_bubble_ios_promo_dismissed";
2428 2450
(...skipping 19 matching lines...) Expand all
2448 2470
2449 // Number of times user has seen the "desktop to iOS" history page promotion. 2471 // Number of times user has seen the "desktop to iOS" history page promotion.
2450 const char kNumberHistoryPageIOSPromoShown[] = 2472 const char kNumberHistoryPageIOSPromoShown[] =
2451 "history_page_ios_promo_shown_count"; 2473 "history_page_ios_promo_shown_count";
2452 2474
2453 // True if the user has dismissed the "desktop to iOS" history page promotion. 2475 // True if the user has dismissed the "desktop to iOS" history page promotion.
2454 const char kHistoryPageIOSPromoDismissed[] = "history_page_ios_promo_dismissed"; 2476 const char kHistoryPageIOSPromoDismissed[] = "history_page_ios_promo_dismissed";
2455 #endif 2477 #endif
2456 2478
2457 } // namespace prefs 2479 } // namespace prefs
OLDNEW
« no previous file with comments | « chrome/common/pref_names.h ('k') | chrome/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698