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

Unified Diff: chrome/browser/system_monitor/removable_device_notifications_mac.mm

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/removable_device_notifications_mac.mm
diff --git a/chrome/browser/system_monitor/removable_device_notifications_mac.mm b/chrome/browser/system_monitor/removable_device_notifications_mac.mm
index 185ae18ef727170cd51982aa4fd093ed6baea745..ab4bad3bd164406cdccb523c578292636d44fd90 100644
--- a/chrome/browser/system_monitor/removable_device_notifications_mac.mm
+++ b/chrome/browser/system_monitor/removable_device_notifications_mac.mm
@@ -112,6 +112,8 @@ void RemovableDeviceNotificationsMac::UpdateDisk(
disk_info_map_.erase(it);
} else {
disk_info_map_[info.bsd_name()] = info;
+ MediaStorageUtil::RecordDeviceInfoHistogram(false, info.device_id(),
vandebo (ex-Chrome) 2012/09/17 18:40:07 true, right?
kmadhusu 2012/09/17 19:32:49 Fixed.
+ info.display_name());
if (ShouldPostNotificationForDisk(info)) {
base::SystemMonitor::Get()->ProcessRemovableStorageAttached(
info.device_id(), info.display_name(), info.mount_point().value());

Powered by Google App Engine
This is Rietveld 408576698