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

Unified Diff: chrome/browser/ui/browser_dialogs.h

Issue 2802703004: Log creation for many dialog box types. (Closed)
Patch Set: Enums better match class names. 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/ui/views/bookmarks/bookmark_bubble_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser_dialogs.h
diff --git a/chrome/browser/ui/browser_dialogs.h b/chrome/browser/ui/browser_dialogs.h
index 7bcd9c4136c547c2e5353667387effbaad8e5193..11f69150304727ff44649c760d7501681f4097ec 100644
--- a/chrome/browser/ui/browser_dialogs.h
+++ b/chrome/browser/ui/browser_dialogs.h
@@ -188,7 +188,28 @@ class ContentSettingBubbleViewsBridge {
// different type of dialog box.
// These values are written to logs. New enum values can be added, but existing
// enums must never be renumbered or deleted and reused.
-enum class DialogIdentifier { UNKNOWN = 0, TRANSLATE = 1, MAX_VALUE };
+enum class DialogIdentifier {
+ UNKNOWN = 0,
+ TRANSLATE = 1,
+ BOOKMARK = 2,
+ BOOKMARK_EDITOR = 3,
+ DESKTOP_MEDIA_PICKER = 4,
+ OUTDATED_UPGRADE = 5,
+ ONE_CLICK_SIGNIN = 6,
+ PROFILE_SIGNIN_CONFIRMATION = 7,
+ HUNG_RENDERER = 8,
+ SESSION_CRASHED = 9,
+ CONFIRM_BUBBLE = 10,
+ UPDATE_RECOMMENDED = 11,
+ CRYPTO_PASSWORD = 12,
+ SAFE_BROWSING_DOWNLOAD_FEEDBACK = 13,
+ FIRST_RUN = 14,
+ NETWORK_SHARE_PROFILE_WARNING = 15,
+ CONFLICTING_MODULE = 16,
+ CRITICAL_NOTIFICATION = 17,
+ IME_WARNING = 18,
+ MAX_VALUE
+};
// Record an UMA metric counting the creation of a dialog box of this type.
void RecordDialogCreation(DialogIdentifier identifier);
« no previous file with comments | « no previous file | chrome/browser/ui/views/bookmarks/bookmark_bubble_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698