summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/cocoa/applescript/metrics_applescript.mm
blob: 226d6271057362b2b90d81a4349f6b3f4d3e5aca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright 2015 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.

#import "chrome/browser/ui/cocoa/applescript/metrics_applescript.h"

#include "base/metrics/histogram.h"

namespace AppleScript {

void LogAppleScriptUMA(AppleScriptCommand sample) {
  UMA_HISTOGRAM_ENUMERATION("AppleScript.CommandEvent", sample,
                            APPLESCRIPT_COMMAND_EVENTS_COUNT);
}

}  // namespace