Index: device/bluetooth/bluetooth_device_chromeos.h |
diff --git a/device/bluetooth/bluetooth_device_chromeos.h b/device/bluetooth/bluetooth_device_chromeos.h |
index 4a15a08c2b7a62e157bbb547cc7441e93335edb5..c60a4de6509021b1dbd8a25e4e6cb002b194c92a 100644 |
--- a/device/bluetooth/bluetooth_device_chromeos.h |
+++ b/device/bluetooth/bluetooth_device_chromeos.h |
@@ -99,6 +99,9 @@ class BluetoothDeviceChromeOS |
// Returns the current pairing object or NULL if no pairing is in progress. |
BluetoothPairingChromeOS* GetPairing() const; |
+ // Returns the object path of the device. |
+ const dbus::ObjectPath& object_path() const { return object_path_; } |
+ |
protected: |
// BluetoothDevice override |
virtual std::string GetDeviceName() const OVERRIDE; |
@@ -163,16 +166,6 @@ class BluetoothDeviceChromeOS |
const std::string& error_name, |
const std::string& error_message); |
- // Called by dbus:: on completion of the D-Bus method call to |
- // connect a peofile. |
- void OnConnectProfile(device::BluetoothProfile* profile, |
- const base::Closure& callback); |
- void OnConnectProfileError( |
- device::BluetoothProfile* profile, |
- const ConnectToProfileErrorCallback& error_callback, |
- const std::string& error_name, |
- const std::string& error_message); |
- |
// Called by dbus:: on completion of the D-Bus method call to start the |
// connection monitor. |
void OnStartConnectionMonitor(const base::Closure& callback); |
@@ -180,9 +173,6 @@ class BluetoothDeviceChromeOS |
const std::string& error_name, |
const std::string& error_message); |
- // Returns the object path of the device; used by BluetoothAdapterChromeOS |
- const dbus::ObjectPath& object_path() const { return object_path_; } |
- |
// The adapter that owns this device instance. |
BluetoothAdapterChromeOS* adapter_; |