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

Unified Diff: chrome/common/pref_names.cc

Issue 1087933002: Cross Device Promo - Main Eligibility Flow (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: build.gn Created 5 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/pref_names.h ('k') | components/signin.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/pref_names.cc
diff --git a/chrome/common/pref_names.cc b/chrome/common/pref_names.cc
index 9ff167387c16d4193f475c44b81d63636461d6eb..0ca663b78bfc5c8a3fad8b829d7c5cf90e955b48 100644
--- a/chrome/common/pref_names.cc
+++ b/chrome/common/pref_names.cc
@@ -1602,6 +1602,31 @@ const char kSignInPromoShowOnFirstRunAllowed[] =
const char kSignInPromoShowNTPBubble[] = "sync_promo.show_ntp_bubble";
#endif
+#if !defined(OS_CHROMEOS) && !defined(OS_ANDROID) && !defined(OS_IOS)
+// Boolean tracking whether the user chose to opt out of the x-device promo.
+const char kCrossDevicePromoOptedOut[] = "x_device_promo.opted_out";
+
+// Boolean tracking whether the x-device promo is currently active.
+const char kCrossDevicePromoActive[] = "x_device_promo.active";
+
+// Int64, representing the time when we first observed a single GAIA account in
+// the cookie. If the most recent observation does not contain exactly one
+// account, this pref does not exist.
+const char kCrossDevicePromoObservedSingleAccountCookie[] =
+ "x_device_promo.single_account_observed";
+
+// Int64, representing the time to next call the ListDevices endpoint.
+const char kCrossDevicePromoNextFetchListDevicesTime[] =
+ "x_device_promo.next_list_devices_fetch";
+
+// Int containing the number of other devices where the profile's account syncs.
+const char kCrossDevicePromoNumDevices[] = "x_device_promo.num_devices";
+
+// Int64, representing the time when we last saw activity on another device.
+const char kCrossDevicePromoLastDeviceActiveTime[] =
+ "x_device_promo.last_device_active_time";
+#endif
+
// Create web application shortcut dialog preferences.
const char kWebAppCreateOnDesktop[] = "browser.web_app.create_on_desktop";
const char kWebAppCreateInAppsMenu[] = "browser.web_app.create_in_apps_menu";
« no previous file with comments | « chrome/common/pref_names.h ('k') | components/signin.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698