Chromium Code Reviews| OLD | NEW |
|---|---|
| (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_ | |
| OLD | NEW |