Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(11)

Side by Side Diff: ui/ui_metrics.h

Issue 624713003: Keep only base/extractor.[cc|h]. (Closed) Base URL: https://chromium.googlesource.com/external/omaha.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ui/ui_displayed_event.cc ('k') | ui/ui_metrics.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2008-2009 Google Inc.
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14 // ========================================================================
15
16 // Declares the usage metrics used by the worker module.
17
18 #ifndef OMAHA_UI_UI_METRICS_H__
19 #define OMAHA_UI_UI_METRICS_H__
20
21 #include "omaha/statsreport/metrics.h"
22
23 namespace omaha {
24
25 // Time (ms) until the user canceled.
26 DECLARE_METRIC_timing(worker_ui_cancel_ms);
27 // How many times the user canceled. Only includes confirmed cancels.
28 DECLARE_METRIC_count(worker_ui_cancels);
29
30 // How many times the user has clicked on the x button of the UI.
31 DECLARE_METRIC_count(worker_ui_click_x);
32
33 // How many times the user has hit the esc key.
34 DECLARE_METRIC_count(worker_ui_esc_key_total);
35
36 // How many times the "Restart Browser Now/Later" buttons were displayed.
37 DECLARE_METRIC_count(worker_ui_restart_browser_buttons_displayed);
38 // How many times the user clicked "Restart Browser Now".
39 DECLARE_METRIC_count(worker_ui_restart_browser_now_click);
40 // How many times the "Restart Browsers Now/Later" buttons were displayed.
41 DECLARE_METRIC_count(worker_ui_restart_all_browsers_buttons_displayed);
42 // How many times the user clicked "Restart Browsers Now".
43 DECLARE_METRIC_count(worker_ui_restart_all_browsers_now_click);
44 // How many times the "Restart Now/Later" (reboot) buttons were displayed.
45 DECLARE_METRIC_count(worker_ui_reboot_buttons_displayed);
46 // How many times the user clicked "Restart Now" (reboot).
47 DECLARE_METRIC_count(worker_ui_reboot_now_click);
48
49 // How many times the user was offered the "Help Me Fix This" link.
50 DECLARE_METRIC_count(worker_ui_get_help_displayed);
51 // How many times the user clicked the "Help Me Fix This" link.
52 DECLARE_METRIC_count(worker_ui_get_help_click);
53
54 } // namespace omaha
55
56 #endif // OMAHA_UI_UI_METRICS_H__
OLDNEW
« no previous file with comments | « ui/ui_displayed_event.cc ('k') | ui/ui_metrics.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698