summaryrefslogtreecommitdiffstats
path: root/chrome/browser/usb/web_usb_histograms.cc
blob: a330c7a0c003ea47700d36d0b073959cd5d13458 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "chrome/browser/usb/web_usb_histograms.h"

#include "base/metrics/histogram_macros.h"

void RecordWebUsbChooserClosure(WebUsbChooserClosed disposition) {
  UMA_HISTOGRAM_ENUMERATION("WebUsb.ChooserClosed", disposition,
                            WEBUSB_CHOOSER_CLOSED_MAX);
}