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

Unified Diff: chrome/browser/task_manager/task_manager_resource_providers.h

Issue 7053041: Add a Create method to DesktopNotificationHandler and stubs for the notification objects. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 years, 6 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_resource_providers.h
diff --git a/chrome/browser/task_manager/task_manager_resource_providers.h b/chrome/browser/task_manager/task_manager_resource_providers.h
index f6251f73f743fef503e14687fbd0dd4fa9e76082..a14498e585ec3a4f20509e96c2b39ecd6c272c6e 100644
--- a/chrome/browser/task_manager/task_manager_resource_providers.h
+++ b/chrome/browser/task_manager/task_manager_resource_providers.h
@@ -416,7 +416,8 @@ class TaskManagerNotificationResourceProvider
: public TaskManager::ResourceProvider,
public NotificationObserver {
public:
- explicit TaskManagerNotificationResourceProvider(TaskManager* task_manager);
+ static TaskManagerNotificationResourceProvider* Create(
+ TaskManager* task_manager);
// TaskManager::ResourceProvider interface
virtual TaskManager::Resource* GetResource(int origin_pid,
@@ -431,6 +432,7 @@ class TaskManagerNotificationResourceProvider
const NotificationDetails& details);
private:
+ explicit TaskManagerNotificationResourceProvider(TaskManager* task_manager);
virtual ~TaskManagerNotificationResourceProvider();
void AddToTaskManager(BalloonHost* balloon_host);

Powered by Google App Engine
This is Rietveld 408576698