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"; |