summaryrefslogtreecommitdiffstats
path: root/chrome/browser/background_mode_manager_mac.mm
diff options
context:
space:
mode:
authorrlp@chromium.org <rlp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-25 22:26:28 +0000
committerrlp@chromium.org <rlp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-25 22:26:28 +0000
commitdf3d71d622f8c0c2b716872705358d3f3c928ffb (patch)
tree2a0fc0a16f0d2506107b2bf29c1db7d464c33ce8 /chrome/browser/background_mode_manager_mac.mm
parent5ecfbdd7b3f61d372536bd68cc9a372beeec9dfb (diff)
downloadchromium_src-df3d71d622f8c0c2b716872705358d3f3c928ffb.zip
chromium_src-df3d71d622f8c0c2b716872705358d3f3c928ffb.tar.gz
chromium_src-df3d71d622f8c0c2b716872705358d3f3c928ffb.tar.bz2
Modifying the BackgroundModeManager to handle multiple profiles.
The background mode manager is now owned by the broser The status tray is also owned by the browser process since there is only one per browser. Previously it was owned by the profile, but now that there are multiple profiles, it makes sense to have the browser process own it. Note: This CL does not unify the status tray into one icon. TEST=unittests (added BackgroundModeManagerTest::MultiProfile) BUG=80069,82215 Review URL: http://codereview.chromium.org/6914021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86724 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/background_mode_manager_mac.mm')
-rw-r--r--chrome/browser/background_mode_manager_mac.mm3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/background_mode_manager_mac.mm b/chrome/browser/background_mode_manager_mac.mm
index f7fad87..4bbae6a 100644
--- a/chrome/browser/background_mode_manager_mac.mm
+++ b/chrome/browser/background_mode_manager_mac.mm
@@ -86,7 +86,8 @@ void BackgroundModeManager::EnableLaunchOnStartup(bool should_launch) {
}
void BackgroundModeManager::DisplayAppInstalledNotification(
- const Extension* extension) {
+ const Extension* extension,
+ Profile* profile) {
// TODO(atwilson): Display a platform-appropriate notification here.
// http://crbug.com/74970
}