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

Unified Diff: content/browser/browser_child_process_host_impl.cc

Issue 10454086: Histograms - Support histograms for Plugins, GPU (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 5 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
« no previous file with comments | « chrome/renderer/renderer_histogram_snapshots.cc ('k') | content/browser/histogram_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/browser_child_process_host_impl.cc
===================================================================
--- content/browser/browser_child_process_host_impl.cc (revision 146279)
+++ content/browser/browser_child_process_host_impl.cc (working copy)
@@ -14,6 +14,7 @@
#include "base/process_util.h"
#include "base/stl_util.h"
#include "base/string_util.h"
+#include "content/browser/histogram_message_filter.h"
#include "content/browser/profiler_message_filter.h"
#include "content/browser/renderer_host/resource_message_filter.h"
#include "content/browser/trace_message_filter.h"
@@ -85,6 +86,7 @@
child_process_host_.reset(ChildProcessHost::Create(this));
child_process_host_->AddFilter(new TraceMessageFilter);
child_process_host_->AddFilter(new content::ProfilerMessageFilter(type));
+ child_process_host_->AddFilter(new content::HistogramMessageFilter());
g_child_process_list.Get().push_back(this);
content::GetContentClient()->browser()->BrowserChildProcessHostCreated(this);
« no previous file with comments | « chrome/renderer/renderer_histogram_snapshots.cc ('k') | content/browser/histogram_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698