summaryrefslogtreecommitdiffstats
path: root/chrome/browser/background_mode_manager.h
diff options
context:
space:
mode:
authorakalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-28 20:00:06 +0000
committerakalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-28 20:00:06 +0000
commitd4efb2e57d0f5498a1171744b31d6300d6bf9b55 (patch)
tree0b8f7db19af5f37ba9d3e467be2db99e72aa295d /chrome/browser/background_mode_manager.h
parent07092e70b19facd29fd1c22986b2f3ad1d6646fe (diff)
downloadchromium_src-d4efb2e57d0f5498a1171744b31d6300d6bf9b55.zip
chromium_src-d4efb2e57d0f5498a1171744b31d6300d6bf9b55.tar.gz
chromium_src-d4efb2e57d0f5498a1171744b31d6300d6bf9b55.tar.bz2
Revert 60834 - Changed EXTENSION_UNINSTALLED notification to happen after uninstallation.
The important part is that it comes after the EXTENSION_UNLOADED notification is sent. This makes it easier on the listeners, as they can assume that extension notifications other than EXTENSION_UNINSTALLED are sent for currently-installed extensions. BUG=54415 TEST=BackgroundModeManagerTest Review URL: http://codereview.chromium.org/3461025 TBR=akalin@chromium.org Review URL: http://codereview.chromium.org/3525001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60837 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/background_mode_manager.h')
-rw-r--r--chrome/browser/background_mode_manager.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/background_mode_manager.h b/chrome/browser/background_mode_manager.h
index 27e710f..46e8847 100644
--- a/chrome/browser/background_mode_manager.h
+++ b/chrome/browser/background_mode_manager.h
@@ -85,6 +85,9 @@ class BackgroundModeManager
// Invoked when the kBackgroundModeEnabled preference has changed.
void OnBackgroundModePrefChanged();
+ // Returns true if the passed extension is a background app.
+ bool IsBackgroundApp(Extension* extension);
+
// Returns true if the background mode preference is enabled
bool IsBackgroundModeEnabled();