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

Unified Diff: ash/system/tray/system_tray_delegate.cc

Issue 1931563002: Add Bluetooth device type icons on the device list in system tray. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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: ash/system/tray/system_tray_delegate.cc
diff --git a/ash/system/tray/system_tray_delegate.cc b/ash/system/tray/system_tray_delegate.cc
index 92469dc0b28f7045cc09bf6b245dfc7f17238b2f..77a5a332cdf41c90c2ceff98bbcd6c35fbff4809 100644
--- a/ash/system/tray/system_tray_delegate.cc
+++ b/ash/system/tray/system_tray_delegate.cc
@@ -17,8 +17,13 @@ NetworkIconInfo::~NetworkIconInfo() {
}
BluetoothDeviceInfo::BluetoothDeviceInfo()
- : connected(false), connecting(false), paired(false) {
-}
+ : device_type(ash::BluetoothDeviceInfo::DEVICE_UNKNOWN),
+ connected(false),
+ connecting(false),
+ paired(false) {}
+
+BluetoothDeviceInfo::BluetoothDeviceInfo(const BluetoothDeviceInfo& other) =
+ default;
BluetoothDeviceInfo::~BluetoothDeviceInfo() {
}

Powered by Google App Engine
This is Rietveld 408576698