| Index: content/browser/bluetooth/bluetooth_metrics.cc
|
| diff --git a/content/browser/bluetooth/bluetooth_metrics.cc b/content/browser/bluetooth/bluetooth_metrics.cc
|
| index fcb819916b7e4ad2d0f8f90458468de5909f3aeb..345816706d2f94b76cb9a4db30d703568fe58a11 100644
|
| --- a/content/browser/bluetooth/bluetooth_metrics.cc
|
| +++ b/content/browser/bluetooth/bluetooth_metrics.cc
|
| @@ -126,6 +126,19 @@ void RecordGetPrimaryServiceOutcome(UMAGetPrimaryServiceOutcome outcome) {
|
| static_cast<int>(UMAGetPrimaryServiceOutcome::COUNT));
|
| }
|
|
|
| +// getCharacteristic
|
| +
|
| +void RecordGetCharacteristicOutcome(UMAGetCharacteristicOutcome outcome) {
|
| + UMA_HISTOGRAM_ENUMERATION(
|
| + "Bluetooth.Web.GetCharacteristic.Outcome", static_cast<int>(outcome),
|
| + static_cast<int>(UMAGetCharacteristicOutcome::COUNT));
|
| +}
|
| +
|
| +void RecordGetCharacteristicCharacteristic(const std::string& characteristic) {
|
| + UMA_HISTOGRAM_SPARSE_SLOWLY("Bluetooth.Web.GetCharacteristic.Characteristic",
|
| + HashUUID(characteristic));
|
| +}
|
| +
|
| // read/write characteristic
|
|
|
| void RecordGATTError(UMAGATTError error) {
|
|
|