OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "content/browser/histogram_controller.h" | 5 #include "content/browser/histogram_controller.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/metrics/histogram.h" | 8 #include "base/metrics/histogram_macros.h" |
9 #include "base/process/process_handle.h" | 9 #include "base/process/process_handle.h" |
10 #include "content/browser/histogram_subscriber.h" | 10 #include "content/browser/histogram_subscriber.h" |
11 #include "content/common/child_process_messages.h" | 11 #include "content/common/child_process_messages.h" |
12 #include "content/public/browser/browser_child_process_host_iterator.h" | 12 #include "content/public/browser/browser_child_process_host_iterator.h" |
13 #include "content/public/browser/browser_thread.h" | 13 #include "content/public/browser/browser_thread.h" |
14 #include "content/public/browser/child_process_data.h" | 14 #include "content/public/browser/child_process_data.h" |
15 #include "content/public/browser/render_process_host.h" | 15 #include "content/public/browser/render_process_host.h" |
16 #include "content/public/common/process_type.h" | 16 #include "content/public/common/process_type.h" |
17 | 17 |
18 namespace content { | 18 namespace content { |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 | 123 |
124 BrowserThread::PostTask( | 124 BrowserThread::PostTask( |
125 BrowserThread::IO, | 125 BrowserThread::IO, |
126 FROM_HERE, | 126 FROM_HERE, |
127 base::Bind(&HistogramController::GetHistogramDataFromChildProcesses, | 127 base::Bind(&HistogramController::GetHistogramDataFromChildProcesses, |
128 base::Unretained(this), | 128 base::Unretained(this), |
129 sequence_number)); | 129 sequence_number)); |
130 } | 130 } |
131 | 131 |
132 } // namespace content | 132 } // namespace content |
OLD | NEW |