| Index: chrome/browser/notifications/message_center_notification_manager.cc
|
| diff --git a/chrome/browser/notifications/message_center_notification_manager.cc b/chrome/browser/notifications/message_center_notification_manager.cc
|
| index 17e177fd88109a650310103072644a2b8791fd49..28c5f795178c2f9ee2a680958fdadc54a4e88240 100644
|
| --- a/chrome/browser/notifications/message_center_notification_manager.cc
|
| +++ b/chrome/browser/notifications/message_center_notification_manager.cc
|
| @@ -482,29 +482,6 @@ MessageCenterNotificationManager::ProfileNotification::OnDownloadsCompleted() {
|
| notification_.DoneRendering();
|
| }
|
|
|
| -std::string
|
| - MessageCenterNotificationManager::ProfileNotification::GetExtensionId() {
|
| - extensions::InfoMap* extension_info_map =
|
| - extensions::ExtensionSystem::Get(profile())->info_map();
|
| - extensions::ExtensionSet extensions;
|
| - extension_info_map->GetExtensionsWithAPIPermissionForSecurityOrigin(
|
| - notification().origin_url(),
|
| - notification().process_id(),
|
| - extensions::APIPermission::kNotifications,
|
| - &extensions);
|
| -
|
| - DesktopNotificationService* desktop_service =
|
| - DesktopNotificationServiceFactory::GetForProfile(profile());
|
| - for (extensions::ExtensionSet::const_iterator iter = extensions.begin();
|
| - iter != extensions.end(); ++iter) {
|
| - if (desktop_service->IsNotifierEnabled(message_center::NotifierId(
|
| - message_center::NotifierId::APPLICATION, (*iter)->id()))) {
|
| - return (*iter)->id();
|
| - }
|
| - }
|
| - return std::string();
|
| -}
|
| -
|
| void
|
| MessageCenterNotificationManager::ProfileNotification::AddToAlternateProvider(
|
| const std::string extension_id) {
|
|
|