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

Issue 10807061: [Chromoting] Update uninstaller to facilitate testing automation. (Closed)

Created:
8 years, 5 months ago by garykac
Modified:
8 years, 5 months ago
Reviewers:
Lambros, dcaiafa
CC:
chromium-reviews, jamiewalch+watch_chromium.org, dcaiafa+watch_chromium.org, simonmorris+watch_chromium.org, hclam+watch_chromium.org, wez+watch_chromium.org, amit, sanjeevr, garykac+watch_chromium.org, lambroslambrou+watch_chromium.org, alexeypa+watch_chromium.org, sergeyu+watch_chromium.org
Visibility:
Public.

Description

[Chromoting] Update uninstaller to facilitate testing automation. With this change, if launched from shell as root, the uninstaller will: * Not show any confirmation UX * Not prompt for admin elevation Also in this cl, cleanup some of the shared Mac constants by pushing more into into constants_mac and fixing up the naming style. This required minor updates to the prefpane and daemon controller. BUG=None TEST=None Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=148442

Patch Set 1 #

Total comments: 8

Patch Set 2 : #

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+281 lines, -185 lines) Patch
M remoting/host/constants_mac.h View 1 2 3 4 1 chunk +34 lines, -6 lines 0 comments Download
M remoting/host/constants_mac.cc View 1 2 3 4 1 chunk +29 lines, -1 line 0 comments Download
M remoting/host/installer/mac/uninstaller/remoting_uninstaller.h View 1 2 3 4 1 chunk +2 lines, -4 lines 0 comments Download
M remoting/host/installer/mac/uninstaller/remoting_uninstaller.mm View 1 2 3 4 5 chunks +64 lines, -140 lines 0 comments Download
A remoting/host/installer/mac/uninstaller/remoting_uninstaller_app.h View 1 chunk +15 lines, -0 lines 0 comments Download
A remoting/host/installer/mac/uninstaller/remoting_uninstaller_app.mm View 1 2 3 1 chunk +102 lines, -0 lines 0 comments Download
M remoting/host/me2me_preference_pane.mm View 1 2 3 4 13 chunks +16 lines, -15 lines 0 comments Download
M remoting/host/plugin/daemon_controller_mac.cc View 1 2 3 4 9 chunks +15 lines, -19 lines 0 comments Download
M remoting/remoting.gyp View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
garykac
8 years, 5 months ago (2012-07-21 01:26:34 UTC) #1
Lambros
http://codereview.chromium.org/10807061/diff/1/remoting/host/installer/mac/uninstaller/remoting_uninstaller.mm File remoting/host/installer/mac/uninstaller/remoting_uninstaller.mm (right): http://codereview.chromium.org/10807061/diff/1/remoting/host/installer/mac/uninstaller/remoting_uninstaller.mm#newcode86 remoting/host/installer/mac/uninstaller/remoting_uninstaller.mm:86: // We're running as root, so just run the ...
8 years, 5 months ago (2012-07-23 20:42:35 UTC) #2
Lambros
LGTM with some optional nits. I'm still curious to know why the special-casing of NULL ...
8 years, 5 months ago (2012-07-23 22:06:46 UTC) #3
garykac
ptal http://codereview.chromium.org/10807061/diff/1/remoting/host/installer/mac/uninstaller/remoting_uninstaller.mm File remoting/host/installer/mac/uninstaller/remoting_uninstaller.mm (right): http://codereview.chromium.org/10807061/diff/1/remoting/host/installer/mac/uninstaller/remoting_uninstaller.mm#newcode31 remoting/host/installer/mac/uninstaller/remoting_uninstaller.mm:31: - (NSArray*)convertToNSArray:(const char**)array { On 2012/07/23 22:06:47, Lambros ...
8 years, 5 months ago (2012-07-23 22:41:09 UTC) #4
dcaiafa
LGTM after comment is addressed. http://codereview.chromium.org/10807061/diff/2002/remoting/host/installer/mac/uninstaller/remoting_uninstaller_app.mm File remoting/host/installer/mac/uninstaller/remoting_uninstaller_app.mm (right): http://codereview.chromium.org/10807061/diff/2002/remoting/host/installer/mac/uninstaller/remoting_uninstaller_app.mm#newcode26 remoting/host/installer/mac/uninstaller/remoting_uninstaller_app.mm:26: CFUserNotificationDisplayAlert(0, kCFUserNotificationNoteAlertLevel, CF23Alert should ...
8 years, 5 months ago (2012-07-23 23:16:01 UTC) #5
Lambros
Just a typo, otherwise lgtm http://codereview.chromium.org/10807061/diff/2002/remoting/host/installer/mac/uninstaller/remoting_uninstaller_app.mm File remoting/host/installer/mac/uninstaller/remoting_uninstaller_app.mm (right): http://codereview.chromium.org/10807061/diff/2002/remoting/host/installer/mac/uninstaller/remoting_uninstaller_app.mm#newcode80 remoting/host/installer/mac/uninstaller/remoting_uninstaller_app.mm:80: // The no-ui option ...
8 years, 5 months ago (2012-07-23 23:48:54 UTC) #6
garykac
On 2012/07/23 23:48:54, Lambros wrote: > Just a typo, otherwise lgtm > > http://codereview.chromium.org/10807061/diff/2002/remoting/host/installer/mac/uninstaller/remoting_uninstaller_app.mm > ...
8 years, 5 months ago (2012-07-24 00:33:10 UTC) #7
garykac
On 2012/07/23 23:16:01, dcaiafa wrote: > LGTM after comment is addressed. > > http://codereview.chromium.org/10807061/diff/2002/remoting/host/installer/mac/uninstaller/remoting_uninstaller_app.mm > ...
8 years, 5 months ago (2012-07-24 00:33:33 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/garykac@chromium.org/10807061/11002
8 years, 5 months ago (2012-07-25 16:44:48 UTC) #9
commit-bot: I haz the power
8 years, 5 months ago (2012-07-25 16:44:50 UTC) #10
Can't process patch for file
remoting/host/installer/mac/uninstaller/remoting_uninstaller_app.mm.
Unsupported svn property format.

Powered by Google App Engine
This is Rietveld 408576698