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 2370 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2381 const char kGoogleDSEGeolocationSetting[] = "google_dse_geolocation_setting"; | 2381 const char kGoogleDSEGeolocationSetting[] = "google_dse_geolocation_setting"; |
2382 | 2382 |
2383 // A dictionary of manifest URLs of Web Share Targets to a dictionary containing | 2383 // A dictionary of manifest URLs of Web Share Targets to a dictionary containing |
2384 // attributes of its share_target field found in its manifest. Each key in the | 2384 // attributes of its share_target field found in its manifest. Each key in the |
2385 // dictionary is the name of the attribute, and the value is the corresponding | 2385 // dictionary is the name of the attribute, and the value is the corresponding |
2386 // value. | 2386 // value. |
2387 const char kWebShareVisitedTargets[] = "profile.web_share.visited_targets"; | 2387 const char kWebShareVisitedTargets[] = "profile.web_share.visited_targets"; |
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"; |
sky
2017/02/17 00:57:23
Why is this used? I see it checked, but the value
mrefaat
2017/02/17 04:31:50
The value is set by a pipeline job that updates ch
sky
2017/02/17 19:06:29
Are you saying the value is set on the server side
mrefaat
2017/02/17 21:53:14
Done.
| |
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"; |
sky
2017/02/17 00:57:23
When is this used? I see you check it, but never a
mrefaat
2017/02/17 04:31:50
The value is changed on the iOS client when the us
sky
2017/02/17 19:06:27
Please update the comment to better indicate this.
mrefaat
2017/02/17 21:53:14
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" | |
sky
2017/02/17 00:57:23
Isn't this a bitmask? Please update comment accord
mrefaat
2017/02/17 04:31:50
Done.
| |
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. | |
sky
2017/02/17 00:57:23
Is this second part really true? I see you set it
mrefaat
2017/02/17 04:31:50
Yes but once the user click SMS then this will not
sky
2017/02/17 19:06:29
Don't you set the value on initial show which is n
mrefaat
2017/02/17 21:53:14
we only care about the day. so it may be off by co
sky
2017/02/17 22:49:32
Sure, but the comment doesn't indicate this. Pleas
mrefaat
2017/02/18 00:03:25
Acknowledged.
| |
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 |