Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(355)

Unified Diff: chrome/browser/background_mode_manager_win.cc

Issue 6914021: Modifying the BackgroundModeManager to handle multiple profiles. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/background_mode_manager_unittest.cc ('k') | chrome/browser/browser_process.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/background_mode_manager_win.cc
===================================================================
--- chrome/browser/background_mode_manager_win.cc (revision 86624)
+++ chrome/browser/background_mode_manager_win.cc (working copy)
@@ -88,11 +88,12 @@
}
void BackgroundModeManager::DisplayAppInstalledNotification(
- const Extension* extension) {
+ const Extension* extension,
+ Profile* profile) {
// Create a status tray notification balloon explaining to the user that
// a background app has been installed.
- CreateStatusTrayIcon();
- status_icon_->DisplayBalloon(
+ CreateStatusTrayIcon(profile);
+ background_mode_data_[profile]->status_icon_->DisplayBalloon(
l10n_util::GetStringUTF16(IDS_BACKGROUND_APP_INSTALLED_BALLOON_TITLE),
l10n_util::GetStringFUTF16(
IDS_BACKGROUND_APP_INSTALLED_BALLOON_BODY,
« no previous file with comments | « chrome/browser/background_mode_manager_unittest.cc ('k') | chrome/browser/browser_process.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698