DescriptionPull CrxInstaller out of ExtensionsService.
CrxInstaller is a new stateful object that encapsulates a
single installation from unpack through notification.
It currently contains the UI bits, but I suspect in the next
CL (where I will finally implement the install UI) these
will come out and CrxInstaller will become
SilentCrxInstaller, and only used for updates and external
installs.
Also in this change, I removed the concept of install callbacks that ExtensionUpdater was using. This was only used to delete the temp crx file as far as I can tell, and we can easily keep state about that in CrxInstaller.
With this CL, ExtensionsServiceBackend is almost completely
dead, with only a few zombie methods left like
LoadAllExtensions(). These should all become little objects
like CrxInstaller that hold a reference to ExtensionsService
over their lifetime and then kill themselves.
I'll get to that eventually.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=22043
Patch Set 1 #
Total comments: 34
Patch Set 2 : response to feedback #Patch Set 3 : Whoops, remove DCHECKs #
Total comments: 1
Patch Set 4 : Fix leak of SandboxedExtensionUnpacker #Messages
Total messages: 6 (0 generated)
|