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

Unified Diff: chrome/service/service_ipc_server.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 | « chrome/browser/chrome_browser_field_trials.cc ('k') | components/cronet/histogram_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/service/service_ipc_server.cc
diff --git a/chrome/service/service_ipc_server.cc b/chrome/service/service_ipc_server.cc
index 869c4fbcd3de1e59aad2eacb04945590cb48c85e..de82ad09237f4903ef0d874275260fd749e42e7d 100644
--- a/chrome/service/service_ipc_server.cc
+++ b/chrome/service/service_ipc_server.cc
@@ -123,7 +123,10 @@ void ServiceIPCServer::OnGetHistograms() {
new base::HistogramDeltaSerialization("ServiceProcess"));
}
std::vector<std::string> deltas;
- histogram_delta_serializer_->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_serializer_->PrepareAndSerializeDeltas(&deltas, false);
channel_->Send(new ServiceHostMsg_Histograms(deltas));
}
« no previous file with comments | « chrome/browser/chrome_browser_field_trials.cc ('k') | components/cronet/histogram_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698