Index: chrome/browser/memory_details.cc |
diff --git a/chrome/browser/memory_details.cc b/chrome/browser/memory_details.cc |
index 8c3a6c2c075c94424e095009bcd7d021ae906d10..d0781f000468e32f8b7e525d220b09acd157fa9e 100644 |
--- a/chrome/browser/memory_details.cc |
+++ b/chrome/browser/memory_details.cc |
@@ -371,6 +371,7 @@ void MemoryDetails::UpdateHistograms() { |
int extension_count = 0; |
int plugin_count = 0; |
int pepper_plugin_count = 0; |
+ int pepper_plugin_broker_count = 0; |
int renderer_count = 0; |
int other_count = 0; |
int worker_count = 0; |
@@ -441,6 +442,10 @@ void MemoryDetails::UpdateHistograms() { |
UMA_HISTOGRAM_MEMORY_KB("Memory.PepperPlugin", sample); |
pepper_plugin_count++; |
break; |
+ case content::PROCESS_TYPE_PPAPI_BROKER: |
+ UMA_HISTOGRAM_MEMORY_KB("Memory.PepperPluginBroker", sample); |
+ pepper_plugin_broker_count++; |
+ break; |
default: |
NOTREACHED(); |
break; |
@@ -457,6 +462,8 @@ void MemoryDetails::UpdateHistograms() { |
UMA_HISTOGRAM_COUNTS_100("Memory.PluginProcessCount", plugin_count); |
UMA_HISTOGRAM_COUNTS_100("Memory.PepperPluginProcessCount", |
pepper_plugin_count); |
+ UMA_HISTOGRAM_COUNTS_100("Memory.PepperPluginBrokerProcessCount", |
+ pepper_plugin_broker_count); |
UMA_HISTOGRAM_COUNTS_100("Memory.RendererProcessCount", renderer_count); |
UMA_HISTOGRAM_COUNTS_100("Memory.WorkerProcessCount", worker_count); |
// TODO(viettrungluu): Do we want separate counts for the other |