Commit b7359fcd authored by Ramin Halavati's avatar Ramin Halavati Committed by Commit Bot

Remove unused Cross Device Promo preferences.

kCrossDevicePromo* preferences are removed.

Bug: 861722
Change-Id: Ica9b5aa7c0002479c57321aedde3e20ab33e25ca
Reviewed-on: https://chromium-review.googlesource.com/1179148Reviewed-by: default avatarMartin Šrámek <msramek@chromium.org>
Commit-Queue: Ramin Halavati <rhalavati@chromium.org>
Cr-Commit-Position: refs/heads/master@{#584369}
parent 0c4eb4b9
...@@ -443,14 +443,6 @@ const char* const kTemporaryIncognitoWhitelist[] = { ...@@ -443,14 +443,6 @@ const char* const kTemporaryIncognitoWhitelist[] = {
prefs::kGoogleServicesPasswordHash, prefs::kGoogleServicesPasswordHash,
#if !defined(OS_CHROMEOS) && !defined(OS_ANDROID)
prefs::kCrossDevicePromoOptedOut, prefs::kCrossDevicePromoShouldBeShown,
prefs::kCrossDevicePromoObservedSingleAccountCookie,
prefs::kCrossDevicePromoNextFetchListDevicesTime,
prefs::kCrossDevicePromoNumDevices,
prefs::kCrossDevicePromoLastDeviceActiveTime,
#endif
prefs::kWebAppCreateOnDesktop, prefs::kWebAppCreateInAppsMenu, prefs::kWebAppCreateOnDesktop, prefs::kWebAppCreateInAppsMenu,
prefs::kWebAppCreateInQuickLaunchBar, prefs::kWebAppCreateInQuickLaunchBar,
......
...@@ -1580,31 +1580,6 @@ const char kSignInPromoShowOnFirstRunAllowed[] = ...@@ -1580,31 +1580,6 @@ const char kSignInPromoShowOnFirstRunAllowed[] =
const char kSignInPromoShowNTPBubble[] = "sync_promo.show_ntp_bubble"; const char kSignInPromoShowNTPBubble[] = "sync_promo.show_ntp_bubble";
#endif #endif
#if !defined(OS_CHROMEOS) && !defined(OS_ANDROID)
// 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 should be shown.
const char kCrossDevicePromoShouldBeShown[] = "x_device_promo.should_be_shown";
// 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. // Create web application shortcut dialog preferences.
const char kWebAppCreateOnDesktop[] = "browser.web_app.create_on_desktop"; const char kWebAppCreateOnDesktop[] = "browser.web_app.create_on_desktop";
const char kWebAppCreateInAppsMenu[] = "browser.web_app.create_in_apps_menu"; const char kWebAppCreateInAppsMenu[] = "browser.web_app.create_in_apps_menu";
......
...@@ -556,15 +556,6 @@ extern const char kSignInPromoShowOnFirstRunAllowed[]; ...@@ -556,15 +556,6 @@ extern const char kSignInPromoShowOnFirstRunAllowed[];
extern const char kSignInPromoShowNTPBubble[]; extern const char kSignInPromoShowNTPBubble[];
#endif #endif
#if !defined(OS_CHROMEOS) && !defined(OS_ANDROID)
extern const char kCrossDevicePromoOptedOut[];
extern const char kCrossDevicePromoShouldBeShown[];
extern const char kCrossDevicePromoObservedSingleAccountCookie[];
extern const char kCrossDevicePromoNextFetchListDevicesTime[];
extern const char kCrossDevicePromoNumDevices[];
extern const char kCrossDevicePromoLastDeviceActiveTime[];
#endif
extern const char kWebAppCreateOnDesktop[]; extern const char kWebAppCreateOnDesktop[];
extern const char kWebAppCreateInAppsMenu[]; extern const char kWebAppCreateInAppsMenu[];
extern const char kWebAppCreateInQuickLaunchBar[]; extern const char kWebAppCreateInQuickLaunchBar[];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment