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

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: Add a flow for when the first listDevices request is scheduled in the future. Tests around the sche… 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
Index: chrome/common/pref_names.cc
diff --git a/chrome/common/pref_names.cc b/chrome/common/pref_names.cc
index b68af2a8778ec091b0a0b1682bacdd7723ed2674..c20806444582030824d93b97877a8e965686da22 100644
--- a/chrome/common/pref_names.cc
+++ b/chrome/common/pref_names.cc
@@ -1650,6 +1650,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";

Powered by Google App Engine
This is Rietveld 408576698