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

Issue 10823221: Do not create login items if the user deleted a previous one. (Closed)

Created:
8 years, 4 months ago by Andrew T Wilson (Slow)
Modified:
8 years, 4 months ago
Reviewers:
Dmitry Titov, sky
CC:
chromium-reviews
Visibility:
Public.

Description

Do not create login items if the user deleted a previous one. Added a new kUserRemovedLoginItem pref that is used to track if the user has previously removed a login item for chrome. This is so we don't keep re-creating the login item every time the user enables/installs a background app if they have indicated that they don't want chrome to open at login. BUG=140017 TEST=Install background app on mac, uncheck "Open at Login" checkbox in dock menu, disable and re-enable the app via Tools->Extension, make sure Open at Login checkbox does not get re-enabled. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=151102

Patch Set 1 #

Total comments: 1

Patch Set 2 : Addressed review feedback. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -6 lines) Patch
M chrome/browser/background/background_mode_manager.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/background/background_mode_manager_mac.mm View 1 4 chunks +52 lines, -6 lines 0 comments Download
M chrome/common/pref_names.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/pref_names.cc View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Andrew T Wilson (Slow)
Dmitry: PTAL
8 years, 4 months ago (2012-08-08 00:11:16 UTC) #1
Dmitry Titov
I must say our method of detecting user actions is sketchy... But nothing better coms ...
8 years, 4 months ago (2012-08-09 18:22:23 UTC) #2
Andrew T Wilson (Slow)
Added the debug code you requested. PTAL.
8 years, 4 months ago (2012-08-10 00:10:11 UTC) #3
Dmitry Titov
lgtm
8 years, 4 months ago (2012-08-10 00:21:33 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/atwilson@chromium.org/10823221/3002
8 years, 4 months ago (2012-08-10 03:30:09 UTC) #5
commit-bot: I haz the power
Presubmit check for 10823221-3002 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 4 months ago (2012-08-10 03:30:12 UTC) #6
Andrew T Wilson (Slow)
Scott, can you LGTM my changes to chrome/common/pref_names.h/cc? CQ won't let me land changes to ...
8 years, 4 months ago (2012-08-10 03:58:09 UTC) #7
sky
LGTM
8 years, 4 months ago (2012-08-10 16:12:34 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/atwilson@chromium.org/10823221/3002
8 years, 4 months ago (2012-08-10 16:13:45 UTC) #9
commit-bot: I haz the power
8 years, 4 months ago (2012-08-10 19:22:43 UTC) #10
Change committed as 151102

Powered by Google App Engine
This is Rietveld 408576698