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

Unified Diff: content/browser/histogram_controller.cc

Issue 1875503003: Revert "Create and pass shared-histogram-allocator from browser to renderer." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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/chrome_tests_unit.gypi ('k') | content/browser/renderer_host/render_process_host_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/histogram_controller.cc
diff --git a/content/browser/histogram_controller.cc b/content/browser/histogram_controller.cc
index 052bd7a5bd71ead652fc958d975aad70214f6358..6106e64e4ea617353129c8c15c36dd4f2fb3aeab 100644
--- a/content/browser/histogram_controller.cc
+++ b/content/browser/histogram_controller.cc
@@ -89,10 +89,8 @@ void HistogramController::GetHistogramDataFromChildProcesses(
continue;
++pending_processes;
- if (!iter.Send(new ChildProcessMsg_GetChildNonPersistentHistogramData(
- sequence_number))) {
+ if (!iter.Send(new ChildProcessMsg_GetChildHistogramData(sequence_number)))
--pending_processes;
- }
}
BrowserThread::PostTask(
@@ -114,8 +112,7 @@ void HistogramController::GetHistogramData(int sequence_number) {
!it.IsAtEnd(); it.Advance()) {
++pending_processes;
if (!it.GetCurrentValue()->Send(
- new ChildProcessMsg_GetChildNonPersistentHistogramData(
- sequence_number))) {
+ new ChildProcessMsg_GetChildHistogramData(sequence_number))) {
--pending_processes;
}
}
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | content/browser/renderer_host/render_process_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698