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

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

Issue 10933114: Combine boolean MediaDeviceNotifications histograms to an enumerated histogram. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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_histogram.h
diff --git a/chrome/browser/system_monitor/removable_device_notifications_histogram.h b/chrome/browser/system_monitor/removable_device_notifications_histogram.h
new file mode 100644
index 0000000000000000000000000000000000000000..25224ed92e5e00581db8df3754babb90cadeac94
--- /dev/null
+++ b/chrome/browser/system_monitor/removable_device_notifications_histogram.h
@@ -0,0 +1,23 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// Common code shared between RemovableDeviceNotifications{Win,Linux,Mac,
+// ChromeOS} to record MediaDeviceNotification.DeviceInfo histogram.
+
+#ifndef CHROME_BROWSER_SYSTEM_MONITOR_REMOVABLE_DEVICE_NOTIFICATIONS_HISTOGRAM_H_
+#define CHROME_BROWSER_SYSTEM_MONITOR_REMOVABLE_DEVICE_NOTIFICATIONS_HISTOGRAM_H_
+
+#include "chrome/browser/system_monitor/media_storage_util.h"
+
+namespace chrome {
+
+// Record device information histogram for the given |device_type|,
+// |device_uuid| and |device_name|.
+void RecordDeviceInfoHistogram(MediaStorageUtil::Type device_type,
+ const std::string& device_uuid,
+ const string16& device_name);
+
+} // namespace chrome
+
+#endif // CHROME_BROWSER_SYSTEM_MONITOR_REMOVABLE_DEVICE_NOTIFICATIONS_HISTOGRAM_H_

Powered by Google App Engine
This is Rietveld 408576698