summaryrefslogtreecommitdiffstats
path: root/extensions/browser/process_manager_observer.h
Commit message (Collapse)AuthorAgeFilesLines
* Add OnBackgroundHostClose event to ProcessManagerObserver.reillyg2014-10-291-3/+6
| | | | | | | | | | | | | | | | | | | | The OnBackgroundHostClose method is called when the background host for an extension is closed. This is designed to replace the NOTIFICATION_EXTENSION_HOST_DESTROYED notification as it will only be used for the background host and not other ExtensionHost types such as infobars and popups. This change switches ApiResourceManager and DevicePermissionsManager to use this observer as otherwise all API resources owned by an extension and ephemeral device permissions will be cleaned up when an infobar or popup created by an extension is closed, even if the background page is still active. BUG=426632 Review URL: https://codereview.chromium.org/661083004 Cr-Commit-Position: refs/heads/master@{#301838}
* Break extensions ProcessManager dependency on Runtime APIjamescook@chromium.org2014-03-311-0/+21
* Introduce a ProcessManagerObserver * Make the Chrome extension RuntimeAPI implementation use it to send onStartup events. BUG=354552 TEST=browser_tests *Extension* Review URL: https://codereview.chromium.org/212603020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@260478 0039d316-1c4b-4281-b951-d872f2087c98