| Index: chrome/browser/background/background_mode_manager_win.cc
|
| diff --git a/chrome/browser/background/background_mode_manager_win.cc b/chrome/browser/background/background_mode_manager_win.cc
|
| index fa85eb71f5414232feb6c98e9f6105784ee5c9a1..0b04ed778b0f2761e04f812bf89ed8e510ffd27f 100644
|
| --- a/chrome/browser/background/background_mode_manager_win.cc
|
| +++ b/chrome/browser/background/background_mode_manager_win.cc
|
| @@ -17,9 +17,12 @@
|
| #include "content/public/browser/browser_thread.h"
|
| #include "ui/base/l10n/l10n_util.h"
|
| #include "ui/gfx/image/image_skia.h"
|
| +#include "ui/message_center/notifier_settings.h"
|
|
|
| using content::BrowserThread;
|
|
|
| +const char kAppInstalledNotifierId[] = "background-mode.app-installed";
|
| +
|
| void BackgroundModeManager::EnableLaunchOnStartup(bool should_launch) {
|
| // This functionality is only defined for default profile, currently.
|
| if (base::CommandLine::ForCurrentProcess()->HasSwitch(switches::kUserDataDir))
|
| @@ -41,7 +44,9 @@ void BackgroundModeManager::DisplayClientInstalledNotification(
|
| l10n_util::GetStringUTF16(IDS_BACKGROUND_APP_INSTALLED_BALLOON_TITLE),
|
| l10n_util::GetStringFUTF16(IDS_BACKGROUND_APP_INSTALLED_BALLOON_BODY,
|
| name,
|
| - l10n_util::GetStringUTF16(IDS_PRODUCT_NAME)));
|
| + l10n_util::GetStringUTF16(IDS_PRODUCT_NAME)),
|
| + message_center::NotifierId(message_center::NotifierId::SYSTEM_COMPONENT,
|
| + kAppInstalledNotifierId));
|
| }
|
|
|
| base::string16 BackgroundModeManager::GetPreferencesMenuLabel() {
|
|
|