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

Side by Side Diff: chrome/browser/media/router/media_router_metrics.h

Issue 1423683002: [Media Router] Add P1 UMA metrics for Media Router. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix JS. Created 5 years, 1 month 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
OLDNEW
(Empty)
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.
4
5 #ifndef CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTER_METRICS_H_
6 #define CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTER_METRICS_H_
7
8 namespace media_router {
9
10 // Where the user clicked to open the Media Router dialog.
11 enum MediaRouterDialogOpenOrigin {
12 // NOTE: Do not renumber these as that would confuse interpretation of
13 // previously logged data. When making changes, also update the enum list
14 // in tools/metrics/histograms/histograms.xml to keep it in sync.
15 TOOLBAR = 0,
16 OVERFLOW_MENU = 1,
17 CONTEXTUAL_MENU = 2,
18 PAGE = 3,
19
20 // NOTE: Add entries only immediately above this line.
21 TOTAL_COUNT = 4
22 };
23
24 class MediaRouterMetrics {
25 public:
26 // Records where the user clicked to open the Media Router dialog.
27 static void RecordMediaRouterDialogOrigin(
28 MediaRouterDialogOpenOrigin origin);
29 };
30
31 } // namespace media_router
32
33 #endif // CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTER_METRICS_H_
OLDNEW
« no previous file with comments | « chrome/browser/media/router/media_router_dialog_controller.cc ('k') | chrome/browser/media/router/media_router_metrics.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698