Pin Chrome's shortcut to the Win10 Start menu on install and OS upgrade.
[chromium-blink-merge.git] / chrome / browser / media_galleries / media_galleries_histograms.cc
blobcf3f5c74f019a333ad281d71da0248a927ae0bc6
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
3 // found in the LICENSE file.
5 #include "chrome/browser/media_galleries/media_galleries_histograms.h"
7 #include "base/metrics/histogram.h"
9 namespace media_galleries {
11 void UsageCount(MediaGalleriesUsages usage) {
12 DCHECK_LT(usage, MEDIA_GALLERIES_NUM_USAGES);
13 UMA_HISTOGRAM_ENUMERATION("MediaGalleries.Usage", usage,
14 MEDIA_GALLERIES_NUM_USAGES);
17 } // namespace media_galleries