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

Unified Diff: chrome/browser/system_monitor/media_storage_util.h

Issue 10933114: Combine boolean MediaDeviceNotifications histograms to an enumerated histogram. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix style nit Created 8 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/system_monitor/media_storage_util.h
diff --git a/chrome/browser/system_monitor/media_storage_util.h b/chrome/browser/system_monitor/media_storage_util.h
index 7b569792e2d916ff7a1a1e16120f66d96df378e0..0b1c3cfd3ad567f3824319b4177eedb9f6ee9539 100644
--- a/chrome/browser/system_monitor/media_storage_util.h
+++ b/chrome/browser/system_monitor/media_storage_util.h
@@ -75,6 +75,13 @@ class MediaStorageUtil {
// the device is connected.
static FilePath FindDevicePathById(const std::string& device_id);
+ // Record device information histogram for the given |device_uuid| and
+ // |device_name|. Set |mass_storage| to true, if the current device is a
+ // removable mass storage device else false.
+ static void RecordDeviceInfoHistogram(bool mass_storage,
+ const std::string& device_uuid,
+ const string16& device_name);
+
protected:
typedef bool (*GetDeviceInfoFromPathFunction)(const FilePath& path,
std::string* device_id,

Powered by Google App Engine
This is Rietveld 408576698