Index: ui/message_center/notification.cc |
diff --git a/ui/message_center/notification.cc b/ui/message_center/notification.cc |
index 479beaab130b83b528af26e2ad836afe2baa2ba8..63bccf74ce4c9f3dd010765bdbb2be56911490d3 100644 |
--- a/ui/message_center/notification.cc |
+++ b/ui/message_center/notification.cc |
@@ -126,27 +126,4 @@ void Notification::SetSystemPriority() { |
optional_fields_.never_timeout = true; |
} |
-// static |
-scoped_ptr<Notification> Notification::CreateSystemNotification( |
- const std::string& notification_id, |
- const base::string16& title, |
- const base::string16& message, |
- const gfx::Image& icon, |
- const std::string& system_component_id, |
- const base::Closure& click_callback) { |
- scoped_ptr<Notification> notification( |
- new Notification( |
- NOTIFICATION_TYPE_SIMPLE, |
- notification_id, |
- title, |
- message, |
- icon, |
- base::string16() /* display_source */, |
- NotifierId(NotifierId::SYSTEM_COMPONENT, system_component_id), |
- RichNotificationData(), |
- new HandleNotificationClickedDelegate(click_callback))); |
- notification->SetSystemPriority(); |
- return notification.Pass(); |
-} |
- |
} // namespace message_center |