Index: device/bluetooth/bluetooth_gatt_connection_bluez.h |
diff --git a/device/bluetooth/bluetooth_gatt_connection_chromeos.h b/device/bluetooth/bluetooth_gatt_connection_bluez.h |
similarity index 72% |
rename from device/bluetooth/bluetooth_gatt_connection_chromeos.h |
rename to device/bluetooth/bluetooth_gatt_connection_bluez.h |
index 6e40283bba6402d9363f63769f3d7b46ea414dce..e9bee294a8c47ea7150f025f626926772d81c8e8 100644 |
--- a/device/bluetooth/bluetooth_gatt_connection_chromeos.h |
+++ b/device/bluetooth/bluetooth_gatt_connection_bluez.h |
@@ -2,12 +2,13 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef DEVICE_BLUETOOTH_BLUETOOTH_GATT_CONNECTION_CHROMEOS_H_ |
-#define DEVICE_BLUETOOTH_BLUETOOTH_GATT_CONNECTION_CHROMEOS_H_ |
+#ifndef DEVICE_BLUETOOTH_BLUETOOTH_GATT_CONNECTION_BLUEZ_H_ |
+#define DEVICE_BLUETOOTH_BLUETOOTH_GATT_CONNECTION_BLUEZ_H_ |
#include <string> |
#include "base/callback.h" |
+#include "base/macros.h" |
#include "base/memory/weak_ptr.h" |
#include "dbus/object_path.h" |
#include "device/bluetooth/bluetooth_gatt_connection.h" |
@@ -19,19 +20,19 @@ class BluetoothAdapter; |
} // namespace device |
-namespace chromeos { |
+namespace bluez { |
-// BluetoothGattConnectionChromeOS implements BluetoothGattConnection for the |
+// BluetoothGattConnectionBlueZ implements BluetoothGattConnection for the |
// Chrome OS platform. |
ortuno
2015/11/06 18:15:42
Leftover "Chrome OS" reference.
rkc
2015/11/25 00:48:16
Done.
|
-class BluetoothGattConnectionChromeOS |
+class BluetoothGattConnectionBlueZ |
: public device::BluetoothGattConnection, |
public bluez::BluetoothDeviceClient::Observer { |
public: |
- explicit BluetoothGattConnectionChromeOS( |
+ explicit BluetoothGattConnectionBlueZ( |
scoped_refptr<device::BluetoothAdapter> adapter, |
const std::string& device_address, |
const dbus::ObjectPath& object_path); |
- ~BluetoothGattConnectionChromeOS() override; |
+ ~BluetoothGattConnectionBlueZ() override; |
// BluetoothGattConnection overrides. |
bool IsConnected() override; |
@@ -50,9 +51,9 @@ class BluetoothGattConnectionChromeOS |
// events. |
dbus::ObjectPath object_path_; |
- DISALLOW_COPY_AND_ASSIGN(BluetoothGattConnectionChromeOS); |
+ DISALLOW_COPY_AND_ASSIGN(BluetoothGattConnectionBlueZ); |
}; |
-} // namespace chromeos |
+} // namespace bluez |
-#endif // DEVICE_BLUETOOTH_BLUETOOTH_GATT_CONNECTION_CHROMEOS_H_ |
+#endif // DEVICE_BLUETOOTH_BLUETOOTH_GATT_CONNECTION_BLUEZ_H_ |