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

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

Issue 2790723004: Function to count dialog box creations. (Closed)
Patch Set: Use function instead of class for logging. 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
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_
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 DialogBoxIdentifier {
tapted 2017/04/03 09:31:30 enum class DialogIdentifier (currently this pollu
pdyson 2017/04/04 00:54:43 Done and Done.
13 UNKNOWN = 0,
14 TRANSLATE = 1,
15 };
16
17 void ReportDialogCreation(DialogBoxIdentifier identifier);
tapted 2017/04/03 09:31:30 nit: needs a comment also other UMA stuff (e.g. t
pdyson 2017/04/04 00:54:43 Translate used Report, but I see Record elsewhere.
18
19 #endif // CHROME_BROWSER_UI_VIEWS_DIALOG_UMA_DIALOG_UMA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698