| Index: chrome/browser/extensions/extension_storage_monitor.cc
|
| diff --git a/chrome/browser/extensions/extension_storage_monitor.cc b/chrome/browser/extensions/extension_storage_monitor.cc
|
| index ec8d03c009e2439df1a3cf21acf87b7064d99a7f..02ea2e505f5ff4c5513e27c7f1faa0034e123750 100644
|
| --- a/chrome/browser/extensions/extension_storage_monitor.cc
|
| +++ b/chrome/browser/extensions/extension_storage_monitor.cc
|
| @@ -440,22 +440,18 @@ void ExtensionStorageMonitor::OnImageLoaded(
|
|
|
| scoped_ptr<message_center::Notification> notification;
|
| notification.reset(new message_center::Notification(
|
| - message_center::NOTIFICATION_TYPE_SIMPLE,
|
| - notification_id,
|
| + message_center::NOTIFICATION_TYPE_SIMPLE, notification_id,
|
| l10n_util::GetStringUTF16(IDS_EXTENSION_STORAGE_MONITOR_TITLE),
|
| - l10n_util::GetStringFUTF16(
|
| - IDS_EXTENSION_STORAGE_MONITOR_TEXT,
|
| - base::UTF8ToUTF16(extension->name()),
|
| - base::IntToString16(current_usage / kMBytes)),
|
| - notification_image,
|
| - base::string16() /* display source */,
|
| - message_center::NotifierId(
|
| - message_center::NotifierId::SYSTEM_COMPONENT, kSystemNotifierId),
|
| + l10n_util::GetStringFUTF16(IDS_EXTENSION_STORAGE_MONITOR_TEXT,
|
| + base::UTF8ToUTF16(extension->name()),
|
| + base::IntToString16(current_usage / kMBytes)),
|
| + notification_image, base::string16() /* display source */, GURL(),
|
| + message_center::NotifierId(message_center::NotifierId::SYSTEM_COMPONENT,
|
| + kSystemNotifierId),
|
| notification_data,
|
| - new message_center::HandleNotificationButtonClickDelegate(base::Bind(
|
| - &ExtensionStorageMonitor::OnNotificationButtonClick,
|
| - weak_ptr_factory_.GetWeakPtr(),
|
| - extension_id))));
|
| + new message_center::HandleNotificationButtonClickDelegate(
|
| + base::Bind(&ExtensionStorageMonitor::OnNotificationButtonClick,
|
| + weak_ptr_factory_.GetWeakPtr(), extension_id))));
|
| notification->SetSystemPriority();
|
| message_center::MessageCenter::Get()->AddNotification(notification.Pass());
|
|
|
|
|