| Index: chrome/common/pref_names.cc
|
| diff --git a/chrome/common/pref_names.cc b/chrome/common/pref_names.cc
|
| index 2df570f715583a2203a8b6f05093cf43fdcca0bd..b8c64fc00cb0b00c44f8f3a14b80553c3d541fe1 100644
|
| --- a/chrome/common/pref_names.cc
|
| +++ b/chrome/common/pref_names.cc
|
| @@ -2169,14 +2169,22 @@ const char kManagedNotificationsBlockedForUrls[] =
|
| const char kManagedAutoSelectCertificateForUrls[] =
|
| "profile.managed_auto_select_certificate_for_urls";
|
|
|
| -// Set to true if the user created a login item so we should not modify it when
|
| -// uninstalling background apps.
|
| -const char kUserCreatedLoginItem[] = "background_mode.user_created_login_item";
|
| -
|
| +#if defined(OS_MACOSX)
|
| // Set to true if the user removed our login item so we should not create a new
|
| // one when uninstalling background apps.
|
| const char kUserRemovedLoginItem[] = "background_mode.user_removed_login_item";
|
|
|
| +// Set to true if Chrome already created a login item, so there's no need to
|
| +// create another one.
|
| +const char kChromeCreatedLoginItem[] =
|
| + "background_mode.chrome_created_login_item";
|
| +
|
| +// Set to true once we've initialized kChromeCreatedLoginItem for the first
|
| +// time.
|
| +const char kMigratedLoginItemPref[] =
|
| + "background_mode.migrated_login_item_pref";
|
| +#endif
|
| +
|
| // Set to true if background mode is enabled on this browser.
|
| const char kBackgroundModeEnabled[] = "background_mode.enabled";
|
|
|
|
|