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 #ifndef CHROME_BROWSER_MEDIA_GALLERIES_MEDIA_GALLERIES_HISTOGRAMS_H_
6 #define CHROME_BROWSER_MEDIA_GALLERIES_MEDIA_GALLERIES_HISTOGRAMS_H_
8 namespace media_galleries
{
10 enum MediaGalleriesUsages
{
12 DIALOG_PERMISSION_ADDED
,
13 DIALOG_PERMISSION_REMOVED
,
14 GET_MEDIA_FILE_SYSTEMS
,
21 PREFS_INITIALIZED_ERROR
,
22 GET_ALL_MEDIA_FILE_SYSTEM_METADATA
,
24 ADD_USER_SELECTED_FOLDER
,
29 ADD_SCAN_RESULTS_CANCELLED
,
30 ADD_SCAN_RESULTS_ACCEPTED
,
31 ADD_SCAN_RESULTS_FORGET_GALLERY
,
32 DIALOG_FORGET_GALLERY
,
33 DROP_PERMISSION_FOR_MEDIA_FILE_SYSTEM
,
34 MEDIA_GALLERIES_NUM_USAGES
37 void UsageCount(MediaGalleriesUsages usage
);
39 } // namespace media_galleries
41 #endif // CHROME_BROWSER_MEDIA_GALLERIES_MEDIA_GALLERIES_HISTOGRAMS_H_