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

Issue 8348026: Add a component installer for Portable NaCl. Registration of installer is (Closed)

Created:
9 years, 2 months ago by jvoung - send to chromium...
Modified:
9 years ago
Reviewers:
cpu_(ooo_6.6-7.5), pnacl-team
CC:
chromium-reviews, native-client-reviews_googlegroups.com
Visibility:
Public.

Description

Add a component installer for Portable NaCl. Registration of installer is hidden behind a commandline flag '--enable-pnacl'. Still some of TODOs: finalize the metadata associated with the CRX, figure out what to do when a NaCl plugin needs Pnacl, but it's not there yet. BUG= http://code.google.com/p/nativeclient/issues/detail?id=2365 TEST= none yet, only manually test: (1) put a pnacl omaha config in the omaha sandbox, pointing at a crx. (2) run out/Debug/chrome --user-data-dir=/tmp/temp_profile/ --enable-pnacl --component-updater-debug=fast-update --apps-gallery-update-url=http://omaha.sandbox.google.com/service/update2/crx check /tmp/temp_profile/PNaCl/0.1.0.X is installed after a few seconds. restart chrome, check that PathService registers /tmp/temp_profile/PNaCl/0.1.0.X soonish. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=114584

Patch Set 1 #

Patch Set 2 : ... #

Total comments: 5

Patch Set 3 : Rebase, change app id, use apps gallery switch to override #

Patch Set 4 : fixes to rebase #

Total comments: 1

Patch Set 5 : stuff #

Total comments: 11

Patch Set 6 : Add OWNERS for hash, other changes, base::Bind #

Patch Set 7 : fix a header reference #

Patch Set 8 : Move installer to make check_deps happy. #

Patch Set 9 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+296 lines, -1 line) Patch
M chrome/browser/component_updater/component_updater_configurator.cc View 1 2 3 4 5 3 chunks +11 lines, -1 line 0 comments Download
A chrome/browser/component_updater/pnacl/OWNERS View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
A chrome/browser/component_updater/pnacl/pnacl_component_installer.h View 1 2 3 4 5 6 7 1 chunk +24 lines, -0 lines 0 comments Download
A chrome/browser/component_updater/pnacl/pnacl_component_installer.cc View 1 2 3 4 5 6 7 1 chunk +241 lines, -0 lines 0 comments Download
M chrome/browser/ui/browser_init.cc View 1 2 3 4 5 6 7 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/chrome_paths.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/chrome_paths.cc View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/common/chrome_switches.h View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/chrome_switches.cc View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
jvoung - send to chromium...
http://codereview.chromium.org/8348026/diff/2001/chrome/nacl/pnacl_component_installer.cc File chrome/nacl/pnacl_component_installer.cc (right): http://codereview.chromium.org/8348026/diff/2001/chrome/nacl/pnacl_component_installer.cc#newcode69 chrome/nacl/pnacl_component_installer.cc:69: // earlier if there are components that are not ...
9 years, 1 month ago (2011-11-11 22:57:34 UTC) #1
cpu_(ooo_6.6-7.5)
sorry for the delay, I am OOO. I'll take a look this weekend but don't ...
9 years, 1 month ago (2011-11-13 00:24:39 UTC) #2
cpu_(ooo_6.6-7.5)
I promise to look at your change in the next 24 hours! http://codereview.chromium.org/8348026/diff/2001/chrome/nacl/pnacl_component_installer.cc File chrome/nacl/pnacl_component_installer.cc ...
9 years, 1 month ago (2011-11-23 01:39:12 UTC) #3
cpu_(ooo_6.6-7.5)
actually the code looks very good. this is the rest of the review. http://codereview.chromium.org/8348026/diff/9001/chrome/browser/component_updater/component_updater_configurator.cc File ...
9 years, 1 month ago (2011-11-23 01:51:33 UTC) #4
jvoung - send to chromium...
Thanks for the review, and sorry for the delay! http://codereview.chromium.org/8348026/diff/2001/chrome/nacl/pnacl_component_installer.cc File chrome/nacl/pnacl_component_installer.cc (right): http://codereview.chromium.org/8348026/diff/2001/chrome/nacl/pnacl_component_installer.cc#newcode225 chrome/nacl/pnacl_component_installer.cc:225: ...
9 years ago (2011-12-14 19:34:31 UTC) #5
cpu_(ooo_6.6-7.5)
On 2011/12/14 19:34:31, jvoung wrote: > Thanks for the review, and sorry for the delay! ...
9 years ago (2011-12-14 23:24:07 UTC) #6
cpu_(ooo_6.6-7.5)
http://codereview.chromium.org/8348026/diff/9001/chrome/browser/component_updater/component_updater_configurator.cc File chrome/browser/component_updater/component_updater_configurator.cc (right): http://codereview.chromium.org/8348026/diff/9001/chrome/browser/component_updater/component_updater_configurator.cc#newcode133 chrome/browser/component_updater/component_updater_configurator.cc:133: } Ok , we can leave this here for ...
9 years ago (2011-12-14 23:26:22 UTC) #7
cpu_(ooo_6.6-7.5)
lgtm after talking with david. MY only last request is that your code should respect ...
9 years ago (2011-12-14 23:35:25 UTC) #8
jvoung - send to chromium...
On 2011/12/14 23:35:25, cpu wrote: > lgtm after talking with david. > > MY only ...
9 years ago (2011-12-14 23:57:08 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jvoung@google.com/8348026/27001
9 years ago (2011-12-15 01:14:53 UTC) #10
commit-bot: I haz the power
Can't apply patch for file chrome/common/chrome_paths.h. While running patch -p1 --forward --force; patching file chrome/common/chrome_paths.h ...
9 years ago (2011-12-15 01:15:01 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jvoung@google.com/8348026/32003
9 years ago (2011-12-15 01:20:28 UTC) #12
commit-bot: I haz the power
9 years ago (2011-12-15 02:53:21 UTC) #13
Change committed as 114584

Powered by Google App Engine
This is Rietveld 408576698