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

Unified Diff: chromeos/dbus/bluetooth_le_advertisement_service_provider.h

Issue 1111563002: Revert of Add CPP API for BLE advertisments. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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
« no previous file with comments | « no previous file | chromeos/dbus/bluetooth_le_advertisement_service_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
};
« no previous file with comments | « no previous file | chromeos/dbus/bluetooth_le_advertisement_service_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698