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

Side by Side Diff: chrome/browser/media_galleries/media_galleries_histograms.cc

Issue 2299993004: Migrate chrome/browser files to histogram_macros.h includes. (Closed)
Patch Set: Created 4 years, 3 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
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/media_galleries/media_galleries_histograms.h" 5 #include "chrome/browser/media_galleries/media_galleries_histograms.h"
6 6
7 #include "base/metrics/histogram.h" 7 #include "base/metrics/histogram_macros.h"
8 8
9 namespace media_galleries { 9 namespace media_galleries {
10 10
11 void UsageCount(MediaGalleriesUsages usage) { 11 void UsageCount(MediaGalleriesUsages usage) {
12 DCHECK_LT(usage, MEDIA_GALLERIES_NUM_USAGES); 12 DCHECK_LT(usage, MEDIA_GALLERIES_NUM_USAGES);
13 UMA_HISTOGRAM_ENUMERATION("MediaGalleries.Usage", usage, 13 UMA_HISTOGRAM_ENUMERATION("MediaGalleries.Usage", usage,
14 MEDIA_GALLERIES_NUM_USAGES); 14 MEDIA_GALLERIES_NUM_USAGES);
15 } 15 }
16 16
17 } // namespace media_galleries 17 } // namespace media_galleries
OLDNEW
« no previous file with comments | « chrome/browser/media/media_stream_infobar_delegate_android.cc ('k') | chrome/browser/memory/tab_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698