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

Unified Diff: ash/common/system/chromeos/bluetooth/tray_bluetooth.cc

Issue 2162153002: Added Ash.SystemMenu.DefaultView.VisibleItems histogram. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments from patch set 4. Created 4 years, 5 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: ash/common/system/chromeos/bluetooth/tray_bluetooth.cc
diff --git a/ash/common/system/chromeos/bluetooth/tray_bluetooth.cc b/ash/common/system/chromeos/bluetooth/tray_bluetooth.cc
index 482d4f09edc7044ca55ae146e732ddb987cf3472..16d683f6a84c7d5ea11b5580a785091df937e2b2 100644
--- a/ash/common/system/chromeos/bluetooth/tray_bluetooth.cc
+++ b/ash/common/system/chromeos/bluetooth/tray_bluetooth.cc
@@ -394,7 +394,9 @@ class BluetoothDetailedView : public TrayDetailsView,
} // namespace tray
TrayBluetooth::TrayBluetooth(SystemTray* system_tray)
- : SystemTrayItem(system_tray), default_(NULL), detailed_(NULL) {
+ : SystemTrayItem(system_tray, UMA_BLUETOOTH),
+ default_(nullptr),
+ detailed_(nullptr) {
WmShell::Get()->system_tray_notifier()->AddBluetoothObserver(this);
}

Powered by Google App Engine
This is Rietveld 408576698