summaryrefslogtreecommitdiffstats
path: root/content/browser/browser_child_process_host.cc
diff options
context:
space:
mode:
authorrtenneti@chromium.org <rtenneti@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-01 23:20:20 +0000
committerrtenneti@chromium.org <rtenneti@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-01 23:20:20 +0000
commit33047f18fb4d05e45a6a28e706a605ddccc591f6 (patch)
treefc79c483b777007677dcbdb843f300e602277978 /content/browser/browser_child_process_host.cc
parentb05df6b03e0d5dc552a96578ea6a8a7e47af407c (diff)
downloadchromium_src-33047f18fb4d05e45a6a28e706a605ddccc591f6.zip
chromium_src-33047f18fb4d05e45a6a28e706a605ddccc591f6.tar.gz
chromium_src-33047f18fb4d05e45a6a28e706a605ddccc591f6.tar.bz2
Collect profiler stats from all browser child processes.
R=jar Bug=104770 TEST=about:profiler after lauching a plug-in or GPU should show tracking data for plugin-gpu processes Review URL: http://codereview.chromium.org/8588023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112571 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/browser_child_process_host.cc')
-rw-r--r--content/browser/browser_child_process_host.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/content/browser/browser_child_process_host.cc b/content/browser/browser_child_process_host.cc
index 35ed45c..09b77ee 100644
--- a/content/browser/browser_child_process_host.cc
+++ b/content/browser/browser_child_process_host.cc
@@ -13,6 +13,7 @@
#include "base/process_util.h"
#include "base/stl_util.h"
#include "base/string_util.h"
+#include "content/browser/profiler_message_filter.h"
#include "content/browser/renderer_host/resource_message_filter.h"
#include "content/browser/trace_message_filter.h"
#include "content/common/plugin_messages.h"
@@ -68,6 +69,7 @@ BrowserChildProcessHost::BrowserChildProcessHost(
#endif
disconnect_was_alive_(false) {
AddFilter(new TraceMessageFilter);
+ AddFilter(new ProfilerMessageFilter);
g_child_process_list.Get().push_back(this);
}