Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7076)

Unified Diff: chrome/browser/task_manager/task_manager_notification_resource_provider.cc

Issue 8342048: Make NotificationService an interface in the content namespace, and switch callers to use it. Mov... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/task_manager/task_manager_notification_resource_provider.cc
===================================================================
--- chrome/browser/task_manager/task_manager_notification_resource_provider.cc (revision 106380)
+++ chrome/browser/task_manager/task_manager_notification_resource_provider.cc (working copy)
@@ -13,7 +13,7 @@
#include "chrome/common/chrome_notification_types.h"
#include "content/browser/renderer_host/render_process_host.h"
#include "content/browser/renderer_host/render_view_host.h"
-#include "content/common/notification_service.h"
+#include "content/public/browser/notification_service.h"
#include "grit/generated_resources.h"
#include "grit/theme_resources.h"
#include "grit/theme_resources_standard.h"
@@ -110,9 +110,9 @@
// Register for notifications about extension process changes.
registrar_.Add(this, chrome::NOTIFICATION_NOTIFY_BALLOON_CONNECTED,
- NotificationService::AllSources());
+ content::NotificationService::AllSources());
registrar_.Add(this, chrome::NOTIFICATION_NOTIFY_BALLOON_DISCONNECTED,
- NotificationService::AllSources());
+ content::NotificationService::AllSources());
}
void TaskManagerNotificationResourceProvider::StopUpdating() {
@@ -121,9 +121,9 @@
// Unregister for notifications about extension process changes.
registrar_.Remove(this, chrome::NOTIFICATION_NOTIFY_BALLOON_CONNECTED,
- NotificationService::AllSources());
+ content::NotificationService::AllSources());
registrar_.Remove(this, chrome::NOTIFICATION_NOTIFY_BALLOON_DISCONNECTED,
- NotificationService::AllSources());
+ content::NotificationService::AllSources());
// Delete all the resources.
STLDeleteContainerPairSecondPointers(resources_.begin(), resources_.end());

Powered by Google App Engine
This is Rietveld 408576698