Chromium Code Reviews| Index: ipc/attachment_broker_privileged.cc |
| diff --git a/ipc/attachment_broker_privileged.cc b/ipc/attachment_broker_privileged.cc |
| index da62ac0c06e87fd5f1d7d050c021cfe039f6408f..ba5c5efb6c70fbd2a1a0d57ac8f6c099d5221c84 100644 |
| --- a/ipc/attachment_broker_privileged.cc |
| +++ b/ipc/attachment_broker_privileged.cc |
| @@ -6,6 +6,7 @@ |
| #include <algorithm> |
| +#include "base/metrics/histogram.h" |
|
Ilya Sherman
2015/09/21 20:34:26
nit: histogram_macros
erikchen
2015/09/22 21:46:34
Done.
|
| #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 |