DescriptionRevert dangerous changes of r218112:
- InstallTracker::Oberve() could trigger OnExtensionUninstalled() twice because NOTIFICATION_EXTENSION_UNLOADED notification with reason UNLOAD_REASON_UNINSTALL could be sent along with an additional NOTIFICATION_EXTENSION_UNINSTALLED.
- In ComponentLoader::UnloadComponent(), change reason back to UNLOAD_REASON_DISABLE.
Change how Apps Developer Tools is disabled:
- Use ExtensionService::UninstallExtension() instead of ComponentLoad::Remove() to remove Apps Developer Tools. It makes the codepath consistent with regular extension uninstall.
BUG=278393, 277897
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=221329
Patch Set 1 #Patch Set 2 : #Patch Set 3 : #
Total comments: 1
Patch Set 4 : Fixed unit tests. #Patch Set 5 : #
Messages
Total messages: 24 (0 generated)
|