| Index: chrome/browser/download/notification/download_notification_item.cc
|
| diff --git a/chrome/browser/download/notification/download_notification_item.cc b/chrome/browser/download/notification/download_notification_item.cc
|
| index e3bd6beec4d83090b0b2e3f74b5e731d91821372..5de0288cea853b767d752012f8b7bfb650ef9b91 100644
|
| --- a/chrome/browser/download/notification/download_notification_item.cc
|
| +++ b/chrome/browser/download/notification/download_notification_item.cc
|
| @@ -20,6 +20,10 @@
|
| #include "ui/message_center/notification.h"
|
| #include "ui/message_center/notification_delegate.h"
|
|
|
| +#if defined(USE_ASH)
|
| +#include "chrome/browser/ui/ash/multi_user/multi_user_util.h"
|
| +#endif
|
| +
|
| using message_center::Notification;
|
|
|
| namespace {
|
| @@ -65,6 +69,7 @@ void DownloadNotificationItem::NotificationWatcher::OnNotificationRemoved(
|
| }
|
|
|
| DownloadNotificationItem::DownloadNotificationItem(content::DownloadItem* item,
|
| + Profile* profile,
|
| Delegate* delegate)
|
| : openable_(false),
|
| downloading_(false),
|
| @@ -97,6 +102,10 @@ DownloadNotificationItem::DownloadNotificationItem(content::DownloadItem* item,
|
| kDownloadNotificationNotifierId),
|
| data, watcher_.get()));
|
|
|
| +#if defined(USE_ASH)
|
| + notification_->set_profile_id(multi_user_util::GetUserIDFromProfile(profile));
|
| +#endif
|
| +
|
| notification_->set_progress(0);
|
| notification_->set_never_timeout(false);
|
|
|
|
|