1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #import "chrome/browser/ui/cocoa/applescript/metrics_applescript.h"
7 #include "base/metrics/histogram.h"
9 namespace AppleScript {
11 void LogAppleScriptUMA(AppleScriptCommand sample) {
12 UMA_HISTOGRAM_ENUMERATION("AppleScript.CommandEvent", sample,
13 APPLESCRIPT_COMMAND_EVENTS_COUNT);