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

Unified Diff: components/storage_monitor/media_transfer_protocol_device_observer_chromeos.cc

Issue 2834703003: Remove unmapped media galleries histograms. (Closed)
Patch Set: Created 3 years, 8 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: components/storage_monitor/media_transfer_protocol_device_observer_chromeos.cc
diff --git a/components/storage_monitor/media_transfer_protocol_device_observer_chromeos.cc b/components/storage_monitor/media_transfer_protocol_device_observer_chromeos.cc
index 061619991f33850323844d3d72e2342df627e80d..3a67e27d88c14754557d5b1e721184c76dfdfe96 100644
--- a/components/storage_monitor/media_transfer_protocol_device_observer_chromeos.cc
+++ b/components/storage_monitor/media_transfer_protocol_device_observer_chromeos.cc
@@ -11,7 +11,6 @@
#include "base/strings/string_number_conversions.h"
#include "base/strings/string_split.h"
#include "base/strings/utf_string_conversions.h"
-#include "components/storage_monitor/media_storage_util.h"
#include "components/storage_monitor/removable_device_constants.h"
#include "device/media_transfer_protocol/mtp_storage_info.pb.h"
@@ -202,10 +201,6 @@ void MediaTransferProtocolDeviceObserverChromeOS::StorageChanged(
&storage_label, &location, &vendor_name,
&product_name);
- // Keep track of device id and device name to see how often we receive
- // empty values.
- MediaStorageUtil::RecordDeviceInfoHistogram(false, device_id,
- storage_label);
if (device_id.empty() || storage_label.empty())
return;
« no previous file with comments | « components/storage_monitor/media_storage_util.cc ('k') | components/storage_monitor/portable_device_watcher_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698