| Index: chrome/browser/chromeos/notifications/system_notification.cc
|
| diff --git a/chrome/browser/chromeos/notifications/system_notification.cc b/chrome/browser/chromeos/notifications/system_notification.cc
|
| index b4e5d950c02b5414f13e2a0365b839ddb2874610..28ef884219743ce12007d2b2766d40af2c8bd28c 100644
|
| --- a/chrome/browser/chromeos/notifications/system_notification.cc
|
| +++ b/chrome/browser/chromeos/notifications/system_notification.cc
|
| @@ -39,7 +39,9 @@ SystemNotification::~SystemNotification() {
|
| Hide();
|
| }
|
|
|
| -void SystemNotification::Show(const string16& message, bool urgent) {
|
| +void SystemNotification::Show(const string16& message,
|
| + bool urgent,
|
| + bool sticky) {
|
| Notification notify = SystemNotificationFactory::Create(icon_,
|
| title_, message, delegate_.get());
|
| if (visible_) {
|
| @@ -50,7 +52,8 @@ void SystemNotification::Show(const string16& message, bool urgent) {
|
| collection_->UpdateNotification(notify);
|
| }
|
| } else {
|
| - collection_->AddSystemNotification(notify, profile_, true /* sticky */,
|
| + collection_->AddSystemNotification(notify, profile_,
|
| + sticky,
|
| false /* no controls */);
|
| }
|
| visible_ = true;
|
|
|