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

Unified Diff: ash/common/system/tray/system_tray_delegate.h

Issue 2381493005: Add bluetooth device type icons on MD system tray. (Closed)
Patch Set: Move BluetoothDeviceType to device/bluetooth/bluetooth_common.h Created 4 years, 2 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/tray/system_tray_delegate.h
diff --git a/ash/common/system/tray/system_tray_delegate.h b/ash/common/system/tray/system_tray_delegate.h
index 9ec8238f508bdfba076488d0b6bbe1df7375048c..8ffa00580ba609fd8d059d7cc5967eeccf334b31 100644
--- a/ash/common/system/tray/system_tray_delegate.h
+++ b/ash/common/system/tray/system_tray_delegate.h
@@ -25,6 +25,10 @@ class TimeDelta;
class TimeTicks;
}
+namespace device {
+enum class BluetoothDeviceType;
+}
+
namespace ash {
struct IMEInfo;
struct IMEPropertyInfo;
@@ -55,6 +59,7 @@ struct ASH_EXPORT NetworkIconInfo {
struct ASH_EXPORT BluetoothDeviceInfo {
BluetoothDeviceInfo();
+ BluetoothDeviceInfo(const BluetoothDeviceInfo& other);
~BluetoothDeviceInfo();
std::string address;
@@ -62,6 +67,7 @@ struct ASH_EXPORT BluetoothDeviceInfo {
bool connected;
bool connecting;
bool paired;
+ device::BluetoothDeviceType device_type;
};
using BluetoothDeviceList = std::vector<BluetoothDeviceInfo>;

Powered by Google App Engine
This is Rietveld 408576698