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.
4
5#ifndef CHROME_BROWSER_MEDIA_GALLERIES_MEDIA_GALLERIES_HISTOGRAMS_H_
6#define CHROME_BROWSER_MEDIA_GALLERIES_MEDIA_GALLERIES_HISTOGRAMS_H_
7
8namespace media_galleries {
9
10enum MediaGalleriesUsages {
11  DIALOG_GALLERY_ADDED,
12  DIALOG_PERMISSION_ADDED,
13  DIALOG_PERMISSION_REMOVED,
14  GET_MEDIA_FILE_SYSTEMS,
15  PROFILES_WITH_USAGE,
16  SHOW_DIALOG,
17  SAVE_DIALOG,
18  WEBUI_ADD_GALLERY,
19  WEBUI_FORGET_GALLERY,
20  PREFS_INITIALIZED,
21  PREFS_INITIALIZED_ERROR,
22  GET_ALL_MEDIA_FILE_SYSTEM_METADATA,
23  GET_METADATA,
24  ADD_USER_SELECTED_FOLDER,
25  START_MEDIA_SCAN,
26  CANCEL_MEDIA_SCAN,
27  ADD_SCAN_RESULTS,
28  SCAN_FINISHED,
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
35};
36
37void UsageCount(MediaGalleriesUsages usage);
38
39}  // namespace media_galleries
40
41#endif  // CHROME_BROWSER_MEDIA_GALLERIES_MEDIA_GALLERIES_HISTOGRAMS_H_
42