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

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: fixed compile problems on non-Windows builds 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
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..3190a32e569b16808316855442c3b4f011845638 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 SPerpareAndSerializeDeltas() 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));
« chrome/service/service_ipc_server.cc ('K') | « components/metrics/metrics_service.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698