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

Unified Diff: content/child/child_histogram_message_filter.cc

Issue 1425533011: Support "shared" histograms between processes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@shmem-alloc
Patch Set: moved Create-Result histogram to private space and added to histograms.xml Created 4 years, 11 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 | « components/metrics/metrics_service.cc ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/child_histogram_message_filter.cc
diff --git a/content/child/child_histogram_message_filter.cc b/content/child/child_histogram_message_filter.cc
index dbf2dd22be18a5f9fda7a7425d64d40214380f55..f749cf812fb571c502af103b8068c53b71aeb271 100644
--- a/content/child/child_histogram_message_filter.cc
+++ b/content/child/child_histogram_message_filter.cc
@@ -59,7 +59,10 @@ void ChildHistogramMessageFilter::UploadAllHistograms(int sequence_number) {
}
std::vector<std::string> deltas;
- histogram_delta_serialization_->PrepareAndSerializeDeltas(&deltas);
+ // "false" to PerpareAndSerializeDeltas() indicates to *not* include
+ // histograms held in persistent storage on the assumption that they will be
+ // visible to the recipient through other means.
+ histogram_delta_serialization_->PrepareAndSerializeDeltas(&deltas, false);
sender_->Send(
new ChildProcessHostMsg_ChildHistogramData(sequence_number, deltas));
« no previous file with comments | « components/metrics/metrics_service.cc ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698