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

Issue 423293004: Move app_installer into chromium. (Closed)

Created:
6 years, 4 months ago by jackhou1
Modified:
6 years, 1 month ago
Reviewers:
tapted, Matt Giuca, Lei Zhang, cpu_(ooo_6.6-7.5), palmer, open-source-third-party-reviews, security, grt (UTC plus 2)
CC:
chromium-reviews, grt+watch_chromium.org, wfh+watch_chromium.org, chrome-apps-syd-reviews_chromium.org
Project:
chromium
Visibility:
Public.

Description

Move app_installer into chromium. This code was previously in https://chrome-internal.googlesource.com/chrome-app-installer.git We're moving it to chromium with the goal of having it eventually built as part of Chrome releases. The third_party code is used to extract the tags added by dl.google.com. Omaha uses this mechanism to tag their meta-installers. BUG=341353 Committed: https://crrev.com/511a873fa5264a01780ee06dd4c19314031ff2a2 Cr-Commit-Position: refs/heads/master@{#301492}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Change app_installer.gypi to app_installer.gyp #

Total comments: 39

Patch Set 3 : Address comments #

Total comments: 4

Patch Set 4 : Address comments #

Patch Set 5 : #

Total comments: 8

Patch Set 6 : Get omaha code via DEPS. #

Patch Set 7 : Address comments #

Total comments: 2

Patch Set 8 : Update README.chromium. #

Patch Set 9 : Sync and rebase #

Patch Set 10 : Update README.chromium as per http://crbug.com/414165 #

Patch Set 11 : Sync and rebase #

Total comments: 14

Patch Set 12 : Minor updates #

Patch Set 13 : Address comments #

Patch Set 14 : Refer to untrusted data as "tag" throughout. #

Patch Set 15 : Update omaha in src/DEPS. #

Total comments: 6

Patch Set 16 : Address comments #

Patch Set 17 : Sync and rebase #

Patch Set 18 : Move app_installer to chrome/app_installer #

Patch Set 19 : Make app_installer.gyp a gypi. #

Total comments: 10

Patch Set 20 : Address comments #

Total comments: 14

Patch Set 21 : Address comments. #

Patch Set 22 : git cl format #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+401 lines, -4 lines) Patch
M .gitignore View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +1 line, -0 lines 0 comments Download
M DEPS View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +4 lines, -0 lines 0 comments Download
M build/all.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 2 chunks +4 lines, -0 lines 0 comments Download
A chrome/app_installer/DEPS View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +5 lines, -0 lines 0 comments Download
A + chrome/app_installer/OWNERS View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 0 chunks +-1 lines, --1 lines 0 comments Download
A chrome/app_installer/app_installer.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +43 lines, -0 lines 0 comments Download
A + chrome/app_installer/win/app_installer.exe.manifest View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 0 chunks +-1 lines, --1 lines 0 comments Download
A chrome/app_installer/win/app_installer_main.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +301 lines, -0 lines 0 comments Download
M chrome/chrome.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +1 line, -0 lines 0 comments Download
M chrome/installer/launcher_support/chrome_launcher_support.h View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/installer/launcher_support/chrome_launcher_support.cc View 1 2 3 4 3 chunks +18 lines, -0 lines 2 comments Download
A + third_party/omaha/LICENSE View 0 chunks +-1 lines, --1 lines 0 comments Download
A + third_party/omaha/OWNERS View 1 2 3 4 5 0 chunks +-1 lines, --1 lines 0 comments Download
A third_party/omaha/README.chromium View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +16 lines, -0 lines 0 comments Download
A + third_party/omaha/omaha.gyp View 1 2 3 4 5 1 chunk +6 lines, -8 lines 0 comments Download

Messages

Total messages: 59 (10 generated)
jackhou1
tapted, could you take a look at the gyp/third_party stuff here? I'll ask grt to ...
6 years, 4 months ago (2014-07-30 01:18:23 UTC) #1
tapted
CL description needs more context (i.e. where this was, why it needs to move out, ...
6 years, 4 months ago (2014-07-30 04:12:51 UTC) #2
jackhou1
https://codereview.chromium.org/423293004/diff/1/app_installer/app_installer.gypi File app_installer/app_installer.gypi (right): https://codereview.chromium.org/423293004/diff/1/app_installer/app_installer.gypi#newcode13 app_installer/app_installer.gypi:13: 'installer_util', On 2014/07/30 04:12:50, tapted wrote: > these would ...
6 years, 4 months ago (2014-07-30 05:01:05 UTC) #3
jackhou1
grt, could you please review this? Most of the code is unchanged from the internal ...
6 years, 4 months ago (2014-07-30 05:09:32 UTC) #4
grt (UTC plus 2)
Hi Jack. Apologies for deleting your code! Having this in chromium will make it less ...
6 years, 4 months ago (2014-07-30 15:05:37 UTC) #5
jackhou1
https://codereview.chromium.org/423293004/diff/20001/app_installer/app_installer.gyp File app_installer/app_installer.gyp (right): https://codereview.chromium.org/423293004/diff/20001/app_installer/app_installer.gyp#newcode6 app_installer/app_installer.gyp:6: 'targets': [ On 2014/07/30 15:05:36, grt wrote: > 'includes': ...
6 years, 4 months ago (2014-07-31 03:24:57 UTC) #6
grt (UTC plus 2)
looks good. to be continued after the third_party bits are ready? https://codereview.chromium.org/423293004/diff/20001/third_party/omaha/base/extractor.h File third_party/omaha/base/extractor.h (right): ...
6 years, 4 months ago (2014-07-31 20:48:06 UTC) #7
jackhou1
> looks good. to be continued after the third_party bits are ready? Yup, I'll ping ...
6 years, 4 months ago (2014-08-01 00:19:53 UTC) #8
jackhou1
An update on this CL: I requested a repo for the third_party stuff (http://crbug.com/399167). I ...
6 years, 3 months ago (2014-08-29 01:13:06 UTC) #9
grt (UTC plus 2)
Apologies for the delay, Jack. The code still looks good. It sounds like the mirror ...
6 years, 3 months ago (2014-09-05 16:47:30 UTC) #10
jackhou1
https://codereview.chromium.org/423293004/diff/80001/app_installer/win/app_installer_main.cc File app_installer/win/app_installer_main.cc (right): https://codereview.chromium.org/423293004/diff/80001/app_installer/win/app_installer_main.cc#newcode71 app_installer/win/app_installer_main.cc:71: DownloadAndEulaHTMLDialog(bool is_canary) { On 2014/09/05 16:47:30, grt wrote: > ...
6 years, 3 months ago (2014-09-08 07:21:26 UTC) #11
grt (UTC plus 2)
lgtm with comment fix in README.chromium below. https://codereview.chromium.org/423293004/diff/120001/third_party/omaha/README.chromium File third_party/omaha/README.chromium (right): https://codereview.chromium.org/423293004/diff/120001/third_party/omaha/README.chromium#newcode12 third_party/omaha/README.chromium:12: This is ...
6 years, 3 months ago (2014-09-08 13:50:22 UTC) #12
jackhou1
https://codereview.chromium.org/423293004/diff/120001/third_party/omaha/README.chromium File third_party/omaha/README.chromium (right): https://codereview.chromium.org/423293004/diff/120001/third_party/omaha/README.chromium#newcode12 third_party/omaha/README.chromium:12: This is a subset of the Omaha project used ...
6 years, 3 months ago (2014-09-09 00:13:16 UTC) #13
jackhou1
cpu, please review for OWNERS in third_party/ ben, please review for adding app_installer to src/
6 years, 3 months ago (2014-09-09 00:17:23 UTC) #15
cpu_(ooo_6.6-7.5)
please follow the instructions here http://www.chromium.org/developers/adding-3rd-party-libraries in particular getting the open source license folks to ...
6 years, 3 months ago (2014-09-10 00:53:47 UTC) #16
jackhou1
OSTPR and security, could you please review stuff added to third_party?
6 years, 3 months ago (2014-09-11 00:42:08 UTC) #18
cpu_(ooo_6.6-7.5)
lgtm in terms of the code in third party.
6 years, 3 months ago (2014-09-11 20:37:50 UTC) #19
chromium-reviews
Lgtm for ospr On Sep 11, 2014 1:37 PM, <cpu@chromium.org> wrote: > lgtm in terms ...
6 years, 3 months ago (2014-09-11 20:49:29 UTC) #20
jackhou1
Ben, ping. Also +palmer as I'm not sure if someone on security noticed this.
6 years, 3 months ago (2014-09-12 22:53:33 UTC) #22
palmer
So it sounds like the new (or, not even new) attack surface is src/omaha/base/extractor.{h,cc}, right? ...
6 years, 3 months ago (2014-09-13 00:05:47 UTC) #23
jackhou1
On 2014/09/13 00:05:47, Chromium Palmer wrote: > So it sounds like the new (or, not ...
6 years, 3 months ago (2014-09-15 06:34:38 UTC) #24
jackhou1
ben, ping. +darin in case ben is busy. Please review for adding src/app_installer.
6 years, 3 months ago (2014-09-15 06:36:19 UTC) #26
palmer
https://codereview.chromium.org/423293004/diff/200001/app_installer/win/app_installer_main.cc File app_installer/win/app_installer_main.cc (right): https://codereview.chromium.org/423293004/diff/200001/app_installer/win/app_installer_main.cc#newcode129 app_installer/win/app_installer_main.cc:129: return c < 32 || c >= 127; Nit: ...
6 years, 2 months ago (2014-10-13 23:47:54 UTC) #27
jackhou1
https://codereview.chromium.org/423293004/diff/200001/app_installer/win/app_installer_main.cc File app_installer/win/app_installer_main.cc (right): https://codereview.chromium.org/423293004/diff/200001/app_installer/win/app_installer_main.cc#newcode129 app_installer/win/app_installer_main.cc:129: return c < 32 || c >= 127; On ...
6 years, 2 months ago (2014-10-14 01:13:55 UTC) #28
palmer
> This code, along with IsUntrustedDataKeyValid above, was copied from some code > that used ...
6 years, 2 months ago (2014-10-14 02:10:32 UTC) #29
jackhou1
On 2014/10/14 02:10:32, Chromium Palmer wrote: > > This code, along with IsUntrustedDataKeyValid above, was ...
6 years, 2 months ago (2014-10-14 02:55:50 UTC) #30
jackhou1
The third-party code has been security reviewed and committed here: https://chromium-review.googlesource.com/#/c/223041/
6 years, 2 months ago (2014-10-14 03:02:46 UTC) #31
grt (UTC plus 2)
On 2014/10/14 03:02:46, jackhou1 wrote: > The third-party code has been security reviewed and committed ...
6 years, 2 months ago (2014-10-14 12:55:33 UTC) #32
grt (UTC plus 2)
https://codereview.chromium.org/423293004/diff/310001/app_installer/win/app_installer_main.cc File app_installer/win/app_installer_main.cc (right): https://codereview.chromium.org/423293004/diff/310001/app_installer/win/app_installer_main.cc#newcode127 app_installer/win/app_installer_main.cc:127: if (tag_buffer_size > kMaxTagLength) { can't this check be ...
6 years, 2 months ago (2014-10-14 13:04:08 UTC) #33
jackhou1
https://codereview.chromium.org/423293004/diff/310001/app_installer/win/app_installer_main.cc File app_installer/win/app_installer_main.cc (right): https://codereview.chromium.org/423293004/diff/310001/app_installer/win/app_installer_main.cc#newcode127 app_installer/win/app_installer_main.cc:127: if (tag_buffer_size > kMaxTagLength) { On 2014/10/14 13:04:08, grt ...
6 years, 2 months ago (2014-10-14 23:59:39 UTC) #34
jackhou1
On 2014/10/14 12:55:33, grt wrote: > On 2014/10/14 03:02:46, jackhou1 wrote: > > The third-party ...
6 years, 2 months ago (2014-10-15 00:01:38 UTC) #35
grt (UTC plus 2)
lgtm
6 years, 2 months ago (2014-10-15 18:33:05 UTC) #36
jackhou1
grt, PTAL Hopefully the last round. I emailed darin@ about adding app_installer and he thinks ...
6 years, 2 months ago (2014-10-21 06:08:17 UTC) #38
grt (UTC plus 2)
On 2014/10/21 06:08:17, jackhou1 wrote: > grt, PTAL > > Hopefully the last round. I ...
6 years, 2 months ago (2014-10-21 13:46:07 UTC) #39
jackhou1
On 2014/10/21 13:46:07, grt wrote: > On 2014/10/21 06:08:17, jackhou1 wrote: > > grt, PTAL ...
6 years, 2 months ago (2014-10-22 03:19:51 UTC) #40
grt (UTC plus 2)
https://codereview.chromium.org/423293004/diff/390001/build/all.gyp File build/all.gyp (right): https://codereview.chromium.org/423293004/diff/390001/build/all.gyp#newcode201 build/all.gyp:201: '../chrome/chrome.gyp:app_installer', not needed due to chrome.gyp:* on line 101. ...
6 years, 2 months ago (2014-10-22 13:33:57 UTC) #41
jackhou1
https://codereview.chromium.org/423293004/diff/390001/build/all.gyp File build/all.gyp (right): https://codereview.chromium.org/423293004/diff/390001/build/all.gyp#newcode201 build/all.gyp:201: '../chrome/chrome.gyp:app_installer', On 2014/10/22 13:33:57, grt (expect delays oct 27-29) ...
6 years, 2 months ago (2014-10-23 03:47:34 UTC) #42
grt (UTC plus 2)
lgtm
6 years, 2 months ago (2014-10-23 16:37:15 UTC) #43
jackhou1
thestig, please review for OWNERS: - new directory chrome/app_installer/ - +base in chrome/app_installer/DEPS - changes ...
6 years, 2 months ago (2014-10-24 05:38:58 UTC) #45
Lei Zhang
https://codereview.chromium.org/423293004/diff/410001/chrome/app_installer/DEPS File chrome/app_installer/DEPS (right): https://codereview.chromium.org/423293004/diff/410001/chrome/app_installer/DEPS#newcode2 chrome/app_installer/DEPS:2: "+base", You shouldn't need this. src/DEPS already says everyone ...
6 years, 2 months ago (2014-10-24 19:15:24 UTC) #46
jackhou1
https://codereview.chromium.org/423293004/diff/410001/chrome/app_installer/DEPS File chrome/app_installer/DEPS (right): https://codereview.chromium.org/423293004/diff/410001/chrome/app_installer/DEPS#newcode2 chrome/app_installer/DEPS:2: "+base", On 2014/10/24 19:15:23, Lei Zhang wrote: > You ...
6 years, 1 month ago (2014-10-27 03:38:08 UTC) #47
jackhou1
https://codereview.chromium.org/423293004/diff/410001/chrome/app_installer/app_installer.gypi File chrome/app_installer/app_installer.gypi (right): https://codereview.chromium.org/423293004/diff/410001/chrome/app_installer/app_installer.gypi#newcode12 chrome/app_installer/app_installer.gypi:12: 'target_name': 'app_installer', On 2014/10/24 19:15:23, Lei Zhang wrote: > ...
6 years, 1 month ago (2014-10-27 05:50:51 UTC) #49
Lei Zhang
chrome/ lgtm I don't see any Windows GN bots, so I'm thinking GN on Windows ...
6 years, 1 month ago (2014-10-27 21:22:52 UTC) #50
jackhou1
On 2014/10/27 21:22:52, Lei Zhang wrote: > chrome/ lgtm > > I don't see any ...
6 years, 1 month ago (2014-10-27 22:07:21 UTC) #52
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/423293004/450001
6 years, 1 month ago (2014-10-27 22:10:21 UTC) #54
commit-bot: I haz the power
Committed patchset #22 (id:450001)
6 years, 1 month ago (2014-10-28 00:02:03 UTC) #55
commit-bot: I haz the power
Patchset 22 (id:??) landed as https://crrev.com/511a873fa5264a01780ee06dd4c19314031ff2a2 Cr-Commit-Position: refs/heads/master@{#301492}
6 years, 1 month ago (2014-10-28 00:02:57 UTC) #56
Matt Giuca
https://codereview.chromium.org/423293004/diff/450001/chrome/installer/launcher_support/chrome_launcher_support.cc File chrome/installer/launcher_support/chrome_launcher_support.cc (right): https://codereview.chromium.org/423293004/diff/450001/chrome/installer/launcher_support/chrome_launcher_support.cc#newcode130 chrome/installer/launcher_support/chrome_launcher_support.cc:130: GetChromeSxSPathForInstallationLevel(USER_LEVEL_INSTALLATION); Is there a reason this prioritizes user-level installation, ...
6 years, 1 month ago (2014-10-30 02:33:07 UTC) #58
Matt Giuca
6 years, 1 month ago (2014-10-30 02:55:45 UTC) #59
Message was sent while issue was closed.
https://codereview.chromium.org/423293004/diff/450001/chrome/installer/launch...
File chrome/installer/launcher_support/chrome_launcher_support.cc (right):

https://codereview.chromium.org/423293004/diff/450001/chrome/installer/launch...
chrome/installer/launcher_support/chrome_launcher_support.cc:130:
GetChromeSxSPathForInstallationLevel(USER_LEVEL_INSTALLATION);
Just asked the same question on:
https://codereview.chromium.org/685103004
feel free to ignore this and answer it there.

Powered by Google App Engine
This is Rietveld 408576698