Index: chromeos/dbus/bluetooth_le_advertisement_service_provider.h |
diff --git a/chromeos/dbus/bluetooth_le_advertisement_service_provider.h b/chromeos/dbus/bluetooth_le_advertisement_service_provider.h |
index 98622a2a1d658c23d18490c88a39046fe8d52cb3..4cea5d81133d5fe04cd6a69a166bc1fae72eaed3 100644 |
--- a/chromeos/dbus/bluetooth_le_advertisement_service_provider.h |
+++ b/chromeos/dbus/bluetooth_le_advertisement_service_provider.h |
@@ -50,13 +50,11 @@ |
virtual ~BluetoothLEAdvertisementServiceProvider(); |
- const dbus::ObjectPath& object_path() { return object_path_; } |
- |
// Creates the instance where |bus| is the D-Bus bus connection to export |
// the object onto, |object_path| is the object path that it should have |
// and |delegate| is the object to which all method calls will be passed |
// and responses generated from. |
- static scoped_ptr<BluetoothLEAdvertisementServiceProvider> Create( |
+ static BluetoothLEAdvertisementServiceProvider* Create( |
dbus::Bus* bus, |
const dbus::ObjectPath& object_path, |
Delegate* delegate, |
@@ -69,10 +67,6 @@ |
protected: |
BluetoothLEAdvertisementServiceProvider(); |
- // D-Bus object path of object we are exporting, kept so we can unregister |
- // again in our destructor. |
- dbus::ObjectPath object_path_; |
- |
private: |
DISALLOW_COPY_AND_ASSIGN(BluetoothLEAdvertisementServiceProvider); |
}; |