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

Issue 2243863003: Added authorized install with a script to do the copy. (Closed)

Created:
4 years, 4 months ago by ivanhernandez
Modified:
4 years, 3 months ago
CC:
chromium-reviews, grt+watch_chromium.org, pennymac+watch_chromium.org, wfh+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Added authorized install with a script to do the copy. The script will be loaded at the start of the program and hang until it is needed later on in the unpacking step. Committed: https://crrev.com/c5390b48dd8a6187c919549d2900be84a8e6176e Cr-Commit-Position: refs/heads/master@{#414151}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Changed to OO design #

Total comments: 19

Patch Set 3 : Cleaned up the API for authInstall. #

Patch Set 4 : Cleaned up code and made the script waiting not awkward #

Total comments: 24

Patch Set 5 : Addressed Elly's comments. #

Patch Set 6 : Rebased #

Patch Set 7 : Changed BUILD.gn so that only the app would compile AuthorizedInstall.m and not the tests. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+233 lines, -4 lines) Patch
M chrome/installer/mac/app/AppDelegate.m View 1 2 3 4 5 5 chunks +24 lines, -3 lines 0 comments Download
A chrome/installer/mac/app/AuthorizedInstall.h View 1 2 3 4 1 chunk +22 lines, -0 lines 0 comments Download
A chrome/installer/mac/app/AuthorizedInstall.m View 1 2 3 4 1 chunk +133 lines, -0 lines 0 comments Download
M chrome/installer/mac/app/BUILD.gn View 1 2 3 4 5 6 2 chunks +12 lines, -0 lines 0 comments Download
M chrome/installer/mac/app/OmahaCommunication.m View 1 2 1 chunk +1 line, -1 line 0 comments Download
A chrome/installer/mac/app/copy_to_disk.sh View 1 2 3 4 1 chunk +41 lines, -0 lines 0 comments Download

Messages

Total messages: 42 (22 generated)
ivanhernandez
Ready for first round of review.
4 years, 4 months ago (2016-08-12 20:21:50 UTC) #2
Elly Fong-Jones
review'd patchset 1 :) https://codereview.chromium.org/2243863003/diff/1/chrome/installer/mac/app/AuthorizedInstall.m File chrome/installer/mac/app/AuthorizedInstall.m (right): https://codereview.chromium.org/2243863003/diff/1/chrome/installer/mac/app/AuthorizedInstall.m#newcode15 chrome/installer/mac/app/AuthorizedInstall.m:15: exit(1); that seems kind of ...
4 years, 4 months ago (2016-08-16 14:59:42 UTC) #5
Mark Mentovai
https://codereview.chromium.org/2243863003/diff/1/chrome/installer/mac/app/AuthorizedInstall.m File chrome/installer/mac/app/AuthorizedInstall.m (right): https://codereview.chromium.org/2243863003/diff/1/chrome/installer/mac/app/AuthorizedInstall.m#newcode74 chrome/installer/mac/app/AuthorizedInstall.m:74: *status = AuthorizationExecuteWithPrivileges( Elly Jones wrote: > Hm - ...
4 years, 4 months ago (2016-08-16 15:06:32 UTC) #7
ivanhernandez
Addressed Elly's comments and switched this file to be class based like the rest of ...
4 years, 4 months ago (2016-08-16 17:18:39 UTC) #8
Anna Zeng
https://codereview.chromium.org/2243863003/diff/80001/chrome/installer/mac/app/AuthorizedInstall.h File chrome/installer/mac/app/AuthorizedInstall.h (right): https://codereview.chromium.org/2243863003/diff/80001/chrome/installer/mac/app/AuthorizedInstall.h#newcode5 chrome/installer/mac/app/AuthorizedInstall.h:5: #ifndef CHROME_INSTALLER_MAC_APP_AUTHORIZEDINSTALL_H_ Is there a test file for this ...
4 years, 4 months ago (2016-08-18 15:57:17 UTC) #9
ivanhernandez
Changed the API for AuthorizedInstall to better suit what Unpacker will need. Also cleaned up ...
4 years, 4 months ago (2016-08-22 15:34:50 UTC) #13
ivanhernandez
Functionally pretty much the same as patch 3 but with cleaned up code and script ...
4 years, 4 months ago (2016-08-23 16:46:24 UTC) #14
Anna Zeng
Hi podmate! :D More lovely feedback for you. https://codereview.chromium.org/2243863003/diff/160001/chrome/installer/mac/app/AppDelegate.m File chrome/installer/mac/app/AppDelegate.m (right): https://codereview.chromium.org/2243863003/diff/160001/chrome/installer/mac/app/AppDelegate.m#newcode81 chrome/installer/mac/app/AppDelegate.m:81: // ...
4 years, 4 months ago (2016-08-23 19:36:12 UTC) #15
Elly Fong-Jones
lgtm! looking good :) https://codereview.chromium.org/2243863003/diff/160001/chrome/installer/mac/app/AppDelegate.m File chrome/installer/mac/app/AppDelegate.m (right): https://codereview.chromium.org/2243863003/diff/160001/chrome/installer/mac/app/AppDelegate.m#newcode85 chrome/installer/mac/app/AppDelegate.m:85: // startInstall:@"/Users/ivanhernandez/Downloads/Google Chromo.app"]; In comments ...
4 years, 4 months ago (2016-08-24 16:39:22 UTC) #16
ivanhernandez
https://codereview.chromium.org/2243863003/diff/160001/chrome/installer/mac/app/AppDelegate.m File chrome/installer/mac/app/AppDelegate.m (right): https://codereview.chromium.org/2243863003/diff/160001/chrome/installer/mac/app/AppDelegate.m#newcode81 chrome/installer/mac/app/AppDelegate.m:81: // TODO: Add unpacking step here and pass the ...
4 years, 4 months ago (2016-08-24 18:23:17 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2243863003/220001
4 years, 4 months ago (2016-08-24 18:23:55 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/57717) ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, ...
4 years, 4 months ago (2016-08-24 18:27:25 UTC) #24
ivanhernandez
https://codereview.chromium.org/2243863003/diff/160001/chrome/installer/mac/app/copy_to_disk.sh File chrome/installer/mac/app/copy_to_disk.sh (right): https://codereview.chromium.org/2243863003/diff/160001/chrome/installer/mac/app/copy_to_disk.sh#newcode15 chrome/installer/mac/app/copy_to_disk.sh:15: set -euo pipefail On 2016/08/24 18:23:17, ivanhernandez wrote: > ...
4 years, 4 months ago (2016-08-24 18:28:26 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2243863003/240001
4 years, 4 months ago (2016-08-24 18:41:58 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg_ng/builds/257047)
4 years, 4 months ago (2016-08-24 19:07:06 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2243863003/260001
4 years, 4 months ago (2016-08-24 19:22:16 UTC) #33
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/267933)
4 years, 4 months ago (2016-08-24 20:34:13 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2243863003/260001
4 years, 4 months ago (2016-08-24 20:36:46 UTC) #37
commit-bot: I haz the power
Committed patchset #7 (id:260001)
4 years, 4 months ago (2016-08-24 21:29:28 UTC) #39
commit-bot: I haz the power
4 years, 4 months ago (2016-08-24 21:32:55 UTC) #41
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/c5390b48dd8a6187c919549d2900be84a8e6176e
Cr-Commit-Position: refs/heads/master@{#414151}

Powered by Google App Engine
This is Rietveld 408576698