Index: device/bluetooth/bluetooth_device_chromeos.h |
diff --git a/device/bluetooth/bluetooth_device_chromeos.h b/device/bluetooth/bluetooth_device_chromeos.h |
index 236b950fd8a1e03d87ec7768f239e08ea330cb09..858d9381f6c39e0348895b03ad0eae75a3752021 100644 |
--- a/device/bluetooth/bluetooth_device_chromeos.h |
+++ b/device/bluetooth/bluetooth_device_chromeos.h |
@@ -28,6 +28,11 @@ class BluetoothPairingChromeOS; |
// The BluetoothDeviceChromeOS class implements BluetoothDevice for the |
// Chrome OS platform. |
+// |
+// This class is not thread-safe, but is only called from the UI thread. |
+// |
+// A socket thread is used to create sockets but posts all callbacks on the UI |
+// thread. |
class DEVICE_BLUETOOTH_EXPORT BluetoothDeviceChromeOS |
: public device::BluetoothDevice, |
public BluetoothGattServiceClient::Observer { |
@@ -92,7 +97,7 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothDeviceChromeOS |
BluetoothAdapterChromeOS* adapter() const { return adapter_; } |
protected: |
- // BluetoothDevice override |
+ // BluetoothDevice override |
std::string GetDeviceName() const override; |
private: |
@@ -198,3 +203,4 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothDeviceChromeOS |
} // namespace chromeos |
#endif // DEVICE_BLUETOOTH_BLUETOOTH_DEVICE_CHROMEOS_H |
+ |