Add new certificateProvider extension API.
[chromium-blink-merge.git] / chrome / browser / ui / cocoa / applescript / metrics_applescript.h
blob7508c968b7f9c470d01ed91cc7ec292064a45761
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 #ifndef CHROME_BROWSER_UI_COCOA_APPLESCRIPT_METRICS_APPLESCRIPT_H_
6 #define CHROME_BROWSER_UI_COCOA_APPLESCRIPT_METRICS_APPLESCRIPT_H_
8 namespace AppleScript {
10 // The AppleScript verb commands that are being recorded in a histogram. These
11 // values should not be re-ordered or removed.
12 enum AppleScriptCommand {
13 TAB_CLOSE = 0,
14 TAB_COPY,
15 TAB_CUT,
16 TAB_EXECUTE_JAVASCRIPT,
17 TAB_GO_BACK,
18 TAB_GO_FORWARD,
19 TAB_PASTE,
20 TAB_PRINT,
21 TAB_REDO,
22 TAB_RELOAD,
23 TAB_SAVE,
24 TAB_SELECT_ALL,
25 TAB_STOP,
26 TAB_UNDO,
27 TAB_VIEW_SOURCE,
28 WINDOW_CLOSE,
29 WINDOW_ENTER_PRESENTATION_MODE,
30 WINDOW_EXIT_PRESENTATION_MODE,
31 APPLESCRIPT_COMMAND_EVENTS_COUNT
34 // Logs the sample's UMA metrics into the AppleScript.CommandEvent histogram
35 void LogAppleScriptUMA(AppleScriptCommand sample);
37 } // namespace
39 #endif // CHROME_BROWSER_UI_COCOA_APPLESCRIPT_METRICS_APPLESCRIPT_H_