diff options
author | atwilson@chromium.org <atwilson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-18 20:55:45 +0000 |
---|---|---|
committer | atwilson@chromium.org <atwilson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-18 20:55:45 +0000 |
commit | 4c793f0298cbafa6826ef1bc2d85d92bf64320ba (patch) | |
tree | 5e6e6a34051417ee4c6847f397713c5d56e99d0d /chrome/browser/profile.h | |
parent | 0906270c4485c74cf35fed76aee21458702ce68c (diff) | |
download | chromium_src-4c793f0298cbafa6826ef1bc2d85d92bf64320ba.zip chromium_src-4c793f0298cbafa6826ef1bc2d85d92bf64320ba.tar.gz chromium_src-4c793f0298cbafa6826ef1bc2d85d92bf64320ba.tar.bz2 |
Added BackgroundModeManager which tracks when background apps are loaded/unloaded
and puts Chrome into BackgroundMode appropriately.
Added EXTENSION_UNINSTALLING notification which is sent out when a notification
is about to be uninstalled.
Refactored StatusTray code to move StatusTray under the profile rather than
attaching it to the browser process, and removed StatusTrayManager which is
no longer needed now that BackgroundModeManager handles creating status icons.
BUG=43382
TEST=background_mode_manager_unittests.cc
Review URL: http://codereview.chromium.org/3134011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56596 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/profile.h')
-rw-r--r-- | chrome/browser/profile.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/chrome/browser/profile.h b/chrome/browser/profile.h index 6403c8f..da63eae 100644 --- a/chrome/browser/profile.h +++ b/chrome/browser/profile.h @@ -35,6 +35,7 @@ class DatabaseTracker; class AutocompleteClassifier; class BackgroundContentsService; +class BackgroundModeManager; class BookmarkModel; class BrowserThemeProvider; class ChromeAppCacheService; @@ -65,6 +66,7 @@ class SessionService; class SpellCheckHost; class SSLConfigServiceManager; class SSLHostState; +class StatusTray; class TransportSecurityPersister; class SQLitePersistentCookieStore; class TabRestoreService; @@ -405,6 +407,11 @@ class Profile { // Returns the service that manages BackgroundContents for this profile. virtual BackgroundContentsService* GetBackgroundContentsService() = 0; + // Returns the StatusTray, which provides an API for displaying status icons + // in the system status tray. Returns NULL if status icons are not supported + // on this platform (or this is a unit test). + virtual StatusTray* GetStatusTray() = 0; + // Marks the profile as cleanly shutdown. // // NOTE: this is invoked internally on a normal shutdown, but is public so |