Index: ipc/attachment_broker_privileged.cc |
diff --git a/ipc/attachment_broker_privileged.cc b/ipc/attachment_broker_privileged.cc |
index da62ac0c06e87fd5f1d7d050c021cfe039f6408f..0f3ac48c7ed572bd236c413f14d3fc6e681f47bb 100644 |
--- a/ipc/attachment_broker_privileged.cc |
+++ b/ipc/attachment_broker_privileged.cc |
@@ -6,6 +6,7 @@ |
#include <algorithm> |
+#include "base/metrics/histogram_macros.h" |
#include "ipc/ipc_endpoint.h" |
namespace IPC { |
@@ -37,4 +38,9 @@ Sender* AttachmentBrokerPrivileged::GetSenderWithProcessId(base::ProcessId id) { |
return *it; |
} |
+void AttachmentBrokerPrivileged::LogError(UMAError error) { |
+ UMA_HISTOGRAM_ENUMERATION( |
+ "IPC.AttachmentBrokerPrivileged.BrokerAttachmentError", error, ERROR_MAX); |
+} |
+ |
} // namespace IPC |