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

Unified Diff: chrome/browser/background_mode_manager_win.cc

Issue 7068025: Revert 86724 - Modifying the BackgroundModeManager to handle multiple profiles. (Closed) Base URL: svn://svn.chromium.org/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 86725)
+++ chrome/browser/background_mode_manager_win.cc (working copy)
@@ -88,12 +88,11 @@
}
void BackgroundModeManager::DisplayAppInstalledNotification(
- const Extension* extension,
- Profile* profile) {
+ const Extension* extension) {
// Create a status tray notification balloon explaining to the user that
// a background app has been installed.
- CreateStatusTrayIcon(profile);
- background_mode_data_[profile]->status_icon_->DisplayBalloon(
+ CreateStatusTrayIcon();
+ 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