Chromium Code Reviews| Index: chrome/common/pref_names.cc |
| diff --git a/chrome/common/pref_names.cc b/chrome/common/pref_names.cc |
| index 2df570f715583a2203a8b6f05093cf43fdcca0bd..1b8fb4c91f95095c64c027ee4eb19be56d9bddfe 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 if the user removed our login item so we should not create a new |
|
sail
2013/04/11 16:12:29
comment should explain the difference between this
Andrew T Wilson (Slow)
2013/04/12 09:52:21
Done.
|
| +// one when uninstalling background apps. |
| +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"; |