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

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

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 #include "chrome/browser/ui/views/dialog_uma/dialog_uma.h"
6
7 #include "base/metrics/histogram_macros.h"
8
9 void ReportDialogCreation(DialogBoxIdentifier identifier) {
10 UMA_HISTOGRAM_SPARSE_SLOWLY("Dialog.Creation", identifier);
tapted 2017/04/03 09:31:30 I'm not really a UMA expert, but I think UMA_HIST
jwd 2017/04/03 23:02:04 Yeah, I'd agree. If we move towards having non-con
pdyson 2017/04/04 00:54:43 Oh, yes. An earlier version of this had sparse enu
11 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698