DescriptionReland of Simplify ExtensionInstallChecker into a single-use class (patchset #1 id:1 of https://codereview.chromium.org/2769813004/ )
Reason for revert:
The issue fixed itself without a revert.
Original issue's description:
> Revert of Simplify ExtensionInstallChecker into a single-use class (patchset #7 id:120001 of https://codereview.chromium.org/2751013002/ )
>
> Reason for revert:
> Speculative revert for ServiceWorkerTest.ServiceWorkerSuspensionOnExtensionUnload failure on the following bot:
> https://uberchromegw.corp.google.com/i/chromium.win/builders/Win7%20Tests%20%28dbg%29%281%29/builds/58372
>
> Original issue's description:
> > Simplify ExtensionInstallChecker into a single-use class
> >
> > ExtensionInstallChecker does asynchronous checks, and its set of checks
> > can be started more than once. This functionality isn't being used and
> > makes the class more complicated. Remove
> > ExtensionInstallChecker::ResetResults().
> >
> > It's also unclear why the users of this class (CrxInstaller and
> > UnpackedInstaller) are intentionally storing their Profile and Extension
> > pointers in ExtensionInstallChecker class instead of remembering them
> > locally, so update that and remove
> > ExtensionInstallChecker::set_extension().
> >
> > Lastly, allocate the ExtensionInstallChecker dynamically since we don't
> > always use it.
> >
> > BUG=none
> > R=rdevlin.cronin@chromium.org
> >
> > Review-Url: https://codereview.chromium.org/2751013002
> > Cr-Commit-Position: refs/heads/master@{#458883}
> > Committed: https://chromium.googlesource.com/chromium/src/+/b24adc5bcbfde7fd67c6b23c3b0721610c77f63b
>
> TBR=rdevlin.cronin@chromium.org,michaelpg@chromium.org
> # Skipping CQ checks because original CL landed less than 1 days ago.
> NOPRESUBMIT=true
> NOTREECHECKS=true
> NOTRY=true
> BUG=none
>
> Review-Url: https://codereview.chromium.org/2769813004
> Cr-Commit-Position: refs/heads/master@{#458932}
> Committed: https://chromium.googlesource.com/chromium/src/+/9cc4c29fd455f27d818bcca95934a2da2332459e
TBR=rdevlin.cronin@chromium.org,michaelpg@chromium.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=none
Review-Url: https://codereview.chromium.org/2766303003
Cr-Commit-Position: refs/heads/master@{#458955}
Committed: https://chromium.googlesource.com/chromium/src/+/d741d25d04cbff8e7647d204a43dc4dfa76093ca
Patch Set 1 #Messages
Total messages: 6 (3 generated)
|