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

Side by Side Diff: chrome/browser/ui/views/dialog_uma/dialog_uma.h

Issue 2790723004: Function to count dialog box creations. (Closed)
Patch Set: format Created 3 years, 8 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 | « chrome/browser/ui/BUILD.gn ('k') | chrome/browser/ui/views/dialog_uma/dialog_uma.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 2017 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_UI_VIEWS_DIALOG_UMA_DIALOG_UMA_H_
msw 2017/04/05 00:26:54 A couple questions: (1) Why is this specific to vi
pdyson 2017/04/05 03:43:24 (1) This is to enable DPM (decisions per thousand)
msw 2017/04/05 04:32:12 Is there a reason that this shouldn't support Coco
6 #define CHROME_BROWSER_UI_VIEWS_DIALOG_UMA_DIALOG_UMA_H_
7
8 // Values used in the Dialog.Creation UMA metric. Each value represents a
9 // different type of dialog box.
10 // These values are written to logs. New enum values can be added, but existing
11 // enums must never be renumbered or deleted and reused.
12 enum class DialogIdentifier { UNKNOWN = 0, TRANSLATE = 1, MAX_VALUE };
13
14 // Record an UMA metric counting the creation of a dialog box of this type.
15 void RecordDialogCreation(DialogIdentifier identifier);
16
17 #endif // CHROME_BROWSER_UI_VIEWS_DIALOG_UMA_DIALOG_UMA_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/BUILD.gn ('k') | chrome/browser/ui/views/dialog_uma/dialog_uma.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698