| Index: chrome/browser/notifications/notification_options_menu_model.cc
|
| ===================================================================
|
| --- chrome/browser/notifications/notification_options_menu_model.cc (revision 81278)
|
| +++ chrome/browser/notifications/notification_options_menu_model.cc (working copy)
|
| @@ -12,7 +12,6 @@
|
| #include "chrome/browser/notifications/balloon_collection.h"
|
| #include "chrome/browser/notifications/balloon_host.h"
|
| #include "chrome/browser/notifications/desktop_notification_service.h"
|
| -#include "chrome/browser/notifications/desktop_notification_service_factory.h"
|
| #include "chrome/browser/notifications/notification.h"
|
| #include "chrome/browser/notifications/notification_ui_manager.h"
|
| #include "chrome/browser/notifications/notifications_prefs_cache.h"
|
| @@ -161,7 +160,7 @@
|
| const GURL& origin = notification.origin_url();
|
|
|
| DesktopNotificationService* service =
|
| - DesktopNotificationServiceFactory::GetForProfile(balloon_->profile());
|
| + balloon_->profile()->GetDesktopNotificationService();
|
| if (origin.SchemeIs(chrome::kExtensionScheme)) {
|
| ExtensionService* ext_service =
|
| balloon_->profile()->GetExtensionService();
|
| @@ -211,7 +210,7 @@
|
|
|
| void NotificationOptionsMenuModel::ExecuteCommand(int command_id) {
|
| DesktopNotificationService* service =
|
| - DesktopNotificationServiceFactory::GetForProfile(balloon_->profile());
|
| + balloon_->profile()->GetDesktopNotificationService();
|
| ExtensionService* ext_service =
|
| balloon_->profile()->GetExtensionService();
|
| const GURL& origin = balloon_->notification().origin_url();
|
|
|