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

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: Addressed comments 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
« no previous file with comments | « no previous file | chrome/browser/system_monitor/media_storage_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..3db4793f3fe505a4c10796d2a6efb81a760f1342 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|. |mass_storage| indicates whether the current device is a
+ // mass storage device, as defined by IsMassStorageDevice().
+ 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,
« no previous file with comments | « no previous file | chrome/browser/system_monitor/media_storage_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698