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

Issue 17001003: Replace early check for PNaCl with an on-demand check. (Closed)

Created:
7 years, 6 months ago by jvoung (off chromium)
Modified:
7 years, 6 months ago
Reviewers:
cpu_(ooo_6.6-7.5), sehr
CC:
chromium-reviews, native-client-reviews_googlegroups.com
Visibility:
Public.

Description

Replace early check for PNaCl with an on-demand check. Only do this if PNaCl is not installed, or if the current version is not compatible (for the wrong architecture). That way, when we decouple PNaCl component registration from the --enable-pnacl flag, we won't have everybody doing an early check when chrome starts. Actual UI is still to be done/decided (so it's not pretty). Furthermore, the component updater service delays each step by N seconds, even during a CheckForUpdateSoon(), so on a fast connection, most of the delay is the step timer. BUG=107438 R=cpu@chromium.org, sehr@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=207954

Patch Set 1 #

Patch Set 2 : include order #

Patch Set 3 : cleanup a bit #

Total comments: 4

Patch Set 4 : comments #

Patch Set 5 : rebase #

Patch Set 6 : observer instead of timeout #

Total comments: 2

Patch Set 7 : rebase #

Patch Set 8 : rebase again #

Patch Set 9 : rebase again #

Unified diffs Side-by-side diffs Delta from patch set Stats (+192 lines, -62 lines) Patch
M chrome/browser/component_updater/pnacl/pnacl_component_installer.h View 1 2 3 4 5 6 7 8 3 chunks +29 lines, -1 line 0 comments Download
M chrome/browser/component_updater/pnacl/pnacl_component_installer.cc View 1 2 3 4 5 6 7 8 9 chunks +87 lines, -38 lines 0 comments Download
A + chrome/browser/component_updater/pnacl/pnacl_updater_observer.h View 1 2 3 4 5 6 7 8 3 chunks +9 lines, -9 lines 0 comments Download
A + chrome/browser/component_updater/pnacl/pnacl_updater_observer.cc View 1 2 3 4 5 1 chunk +9 lines, -14 lines 0 comments Download
M chrome/browser/nacl_host/nacl_file_host.cc View 1 2 3 4 5 6 2 chunks +56 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

Messages

Total messages: 17 (0 generated)
jvoung (off chromium)
This is the on demand CL I rebased from (https://codereview.chromium.org/12184029/). There a bunch of opportunities ...
7 years, 6 months ago (2013-06-14 16:48:12 UTC) #1
sehr
Couple of comment issues, but nothing major. LGTM from my perspective. https://codereview.chromium.org/17001003/diff/4001/chrome/browser/component_updater/pnacl/pnacl_component_installer.cc File chrome/browser/component_updater/pnacl/pnacl_component_installer.cc (right): ...
7 years, 6 months ago (2013-06-14 18:23:43 UTC) #2
jvoung (off chromium)
+carlos, could you take a look? https://codereview.chromium.org/17001003/diff/4001/chrome/browser/component_updater/pnacl/pnacl_component_installer.cc File chrome/browser/component_updater/pnacl/pnacl_component_installer.cc (right): https://codereview.chromium.org/17001003/diff/4001/chrome/browser/component_updater/pnacl/pnacl_component_installer.cc#newcode318 chrome/browser/component_updater/pnacl/pnacl_component_installer.cc:318: // Why unretained? ...
7 years, 6 months ago (2013-06-14 18:57:50 UTC) #3
jvoung (off chromium)
Changed a bit to check for updater service's sleep events as a signal for update ...
7 years, 6 months ago (2013-06-18 23:40:20 UTC) #4
sehr
On 2013/06/18 23:40:20, jvoung (cr) wrote: > Changed a bit to check for updater service's ...
7 years, 6 months ago (2013-06-20 21:11:42 UTC) #5
cpu_(ooo_6.6-7.5)
lgtm https://codereview.chromium.org/17001003/diff/29001/chrome/browser/component_updater/pnacl/pnacl_updater_observer.cc File chrome/browser/component_updater/pnacl/pnacl_updater_observer.cc (right): https://codereview.chromium.org/17001003/diff/29001/chrome/browser/component_updater/pnacl/pnacl_updater_observer.cc#newcode26 chrome/browser/component_updater/pnacl/pnacl_updater_observer.cc:26: // If the component updater sleeps before a ...
7 years, 6 months ago (2013-06-20 22:21:44 UTC) #6
jvoung (off chromium)
https://codereview.chromium.org/17001003/diff/29001/chrome/browser/component_updater/pnacl/pnacl_updater_observer.cc File chrome/browser/component_updater/pnacl/pnacl_updater_observer.cc (right): https://codereview.chromium.org/17001003/diff/29001/chrome/browser/component_updater/pnacl/pnacl_updater_observer.cc#newcode26 chrome/browser/component_updater/pnacl/pnacl_updater_observer.cc:26: // If the component updater sleeps before a NotifyInstallSuccess, ...
7 years, 6 months ago (2013-06-20 22:55:18 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jvoung@chromium.org/17001003/29001
7 years, 6 months ago (2013-06-21 01:17:37 UTC) #8
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 6 months ago (2013-06-21 01:45:33 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jvoung@chromium.org/17001003/53001
7 years, 6 months ago (2013-06-21 04:27:00 UTC) #10
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) interactive_ui_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=167491
7 years, 6 months ago (2013-06-21 14:57:44 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jvoung@chromium.org/17001003/53001
7 years, 6 months ago (2013-06-21 15:00:38 UTC) #12
commit-bot: I haz the power
Failed to apply patch for chrome/browser/component_updater/pnacl/pnacl_updater_observer.h: While running patch -p1 --forward --force --no-backup-if-mismatch; A chrome/browser/component_updater/pnacl/pnacl_updater_observer.h ...
7 years, 6 months ago (2013-06-21 15:00:47 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jvoung@chromium.org/17001003/86003
7 years, 6 months ago (2013-06-21 16:06:13 UTC) #14
commit-bot: I haz the power
Failed to apply patch for chrome/browser/component_updater/pnacl/pnacl_updater_observer.h: While running patch -p1 --forward --force --no-backup-if-mismatch; A chrome/browser/component_updater/pnacl/pnacl_updater_observer.h ...
7 years, 6 months ago (2013-06-21 20:59:33 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jvoung@chromium.org/17001003/81004
7 years, 6 months ago (2013-06-21 21:53:13 UTC) #16
jvoung (off chromium)
7 years, 6 months ago (2013-06-21 23:31:51 UTC) #17
Message was sent while issue was closed.
Committed patchset #9 manually as r207954 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698