summaryrefslogtreecommitdiffstats
path: root/content
diff options
context:
space:
mode:
authorrtenneti@google.com <rtenneti@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-10 01:43:23 +0000
committerrtenneti@google.com <rtenneti@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-10 01:43:23 +0000
commit0ad73e927abaf87fe94ab78b048ef41c84e34992 (patch)
tree610fe75ddfe515beb768df5dc2392245bc10dd8a /content
parent11622e70dacc6081adbf00bb08a7532b15116385 (diff)
downloadchromium_src-0ad73e927abaf87fe94ab78b048ef41c84e34992.zip
chromium_src-0ad73e927abaf87fe94ab78b048ef41c84e34992.tar.gz
chromium_src-0ad73e927abaf87fe94ab78b048ef41c84e34992.tar.bz2
Disable getting histogram data from child processes other than the renderer processes.
Store the histogram name in the local variable for debugging purposes when we crash. R=jar TBR=jam BUG=140688 TEST=base (histogram unit tests) and unit_tests. Review URL: https://chromiumcodereview.appspot.com/10831247 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150969 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content')
-rw-r--r--content/browser/histogram_controller.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/content/browser/histogram_controller.cc b/content/browser/histogram_controller.cc
index 086e6ea..2d903ca 100644
--- a/content/browser/histogram_controller.cc
+++ b/content/browser/histogram_controller.cc
@@ -70,11 +70,13 @@ void HistogramController::GetHistogramDataFromChildProcesses(
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
int pending_processes = 0;
+ /* TODO(rtenneti): Enable collecting histogram from child processes.
for (BrowserChildProcessHostIterator iter; !iter.Done(); ++iter) {
++pending_processes;
if (!iter.Send(new ChildProcessMsg_GetChildHistogramData(sequence_number)))
--pending_processes;
}
+ */
BrowserThread::PostTask(
BrowserThread::UI,