summaryrefslogtreecommitdiffstats
path: root/chrome/browser/task_manager.cc
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-11 23:55:10 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-11 23:55:10 +0000
commita27a938d8511abfaf89d6e2d0e4d4242c76dffed (patch)
tree98b133536459106b96a0ee09e0deb94b8d92c4b3 /chrome/browser/task_manager.cc
parent342c2c40bd1729fe985d5a6ee06f6eb28bbcdc22 (diff)
downloadchromium_src-a27a938d8511abfaf89d6e2d0e4d4242c76dffed.zip
chromium_src-a27a938d8511abfaf89d6e2d0e4d4242c76dffed.tar.gz
chromium_src-a27a938d8511abfaf89d6e2d0e4d4242c76dffed.tar.bz2
Refactor plugin process code in the browser process so that the browser/about:memory/task manager/metrics code doesn't depend on PluginProcessHost pointers. In a future changelist I'll add one central child process registry in the browser process.
Review URL: http://codereview.chromium.org/20196 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9621 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/task_manager.cc')
-rw-r--r--chrome/browser/task_manager.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/task_manager.cc b/chrome/browser/task_manager.cc
index 54704a9..a64352c 100644
--- a/chrome/browser/task_manager.cc
+++ b/chrome/browser/task_manager.cc
@@ -74,10 +74,10 @@ TaskManagerTableModel::TaskManagerTableModel(TaskManager* task_manager)
new TaskManagerWebContentsResourceProvider(task_manager);
wc_provider->AddRef();
providers_.push_back(wc_provider);
- TaskManagerPluginProcessResourceProvider* plugin_provider =
- new TaskManagerPluginProcessResourceProvider(task_manager);
- plugin_provider->AddRef();
- providers_.push_back(plugin_provider);
+ TaskManagerChildProcessResourceProvider* child_process_provider =
+ new TaskManagerChildProcessResourceProvider(task_manager);
+ child_process_provider->AddRef();
+ providers_.push_back(child_process_provider);
}
TaskManagerTableModel::~TaskManagerTableModel() {