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

Unified Diff: device/bluetooth/bluetooth_device_chromeos.h

Issue 851123002: Manage profiles in BluetoothAdapter on ChromeOS (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comments, slight refactor Created 5 years, 11 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: device/bluetooth/bluetooth_device_chromeos.h
diff --git a/device/bluetooth/bluetooth_device_chromeos.h b/device/bluetooth/bluetooth_device_chromeos.h
index dd853552b1319038bac7faaa60cb03583340b1ff..2b1f087fa2f5b1817156903c2bae9b5a2c068af5 100644
--- a/device/bluetooth/bluetooth_device_chromeos.h
+++ b/device/bluetooth/bluetooth_device_chromeos.h
@@ -90,6 +90,9 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothDeviceChromeOS
// Returns the object path of the device.
const dbus::ObjectPath& object_path() const { return object_path_; }
+ // Returns the adapter which owns this device instance.
+ BluetoothAdapterChromeOS* adapter() const { return adapter_; }
+
protected:
// BluetoothDevice override
virtual std::string GetDeviceName() const override;

Powered by Google App Engine
This is Rietveld 408576698