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); |