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

Unified Diff: device/bluetooth/bluetooth_adapter.h

Issue 13224004: Bluetooth: remove private members from BluetoothAdapter (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review comments Created 7 years, 9 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_adapter.h
diff --git a/device/bluetooth/bluetooth_adapter.h b/device/bluetooth/bluetooth_adapter.h
index f1a7f51114dbc4008e8c585219204ed8c85a5dac..7ea7095c4a11b721c704cd83ff31745aad8dcce3 100644
--- a/device/bluetooth/bluetooth_adapter.h
+++ b/device/bluetooth/bluetooth_adapter.h
@@ -86,10 +86,10 @@ class BluetoothAdapter : public base::RefCounted<BluetoothAdapter> {
// The address of this adapter. The address format is "XX:XX:XX:XX:XX:XX",
// where each XX is a hexadecimal number.
- virtual const std::string& address() const;
+ virtual std::string address() const = 0;
// The name of the adapter.
- virtual const std::string& name() const;
+ virtual std::string name() const = 0;
// Indicates whether the adapter is initialized and ready to use.
virtual bool IsInitialized() const = 0;
@@ -157,12 +157,6 @@ class BluetoothAdapter : public base::RefCounted<BluetoothAdapter> {
BluetoothAdapter();
virtual ~BluetoothAdapter();
- // Address of the adapter.
- std::string address_;
-
- // Name of the adapter.
- std::string name_;
-
// Devices paired with, connected to, discovered by, or visible to the
// adapter. The key is the Bluetooth address of the device and the value
// is the BluetoothDevice object whose lifetime is managed by the
« no previous file with comments | « chrome/browser/extensions/api/bluetooth/bluetooth_event_router_unittest.cc ('k') | device/bluetooth/bluetooth_adapter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698