Index: device/bluetooth/bluetooth_gatt_notify_session_bluez.h |
diff --git a/device/bluetooth/bluetooth_gatt_notify_session_chromeos.h b/device/bluetooth/bluetooth_gatt_notify_session_bluez.h |
similarity index 75% |
rename from device/bluetooth/bluetooth_gatt_notify_session_chromeos.h |
rename to device/bluetooth/bluetooth_gatt_notify_session_bluez.h |
index ef6e8da4e9f7c86d6f20445f05ab7f8c3c9bed2e..4c99d474bb9a4c394f0f24b1ed9d5260a593c8cb 100644 |
--- a/device/bluetooth/bluetooth_gatt_notify_session_chromeos.h |
+++ b/device/bluetooth/bluetooth_gatt_notify_session_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_NOTIFY_SESSION_CHROMEOS_H_ |
-#define DEVICE_BLUETOOTH_BLUETOOTH_GATT_NOTIFY_SESSION_CHROMEOS_H_ |
+#ifndef DEVICE_BLUETOOTH_BLUETOOTH_GATT_NOTIFY_SESSION_BLUEZ_H_ |
+#define DEVICE_BLUETOOTH_BLUETOOTH_GATT_NOTIFY_SESSION_BLUEZ_H_ |
#include <string> |
#include "base/callback.h" |
+#include "base/macros.h" |
#include "device/bluetooth/bluetooth_gatt_notify_session.h" |
#include "device/bluetooth/dbus/bluetooth_gatt_characteristic_client.h" |
@@ -17,17 +18,17 @@ class BluetoothAdapter; |
} // namespace device |
-namespace chromeos { |
+namespace bluez { |
-class BluetoothRemoteGattCharacteristicChromeOS; |
+class BluetoothRemoteGattCharacteristicBlueZ; |
-// BluetoothGattNotifySessionChromeOS implements |
+// BluetoothGattNotifySessionBlueZ implements |
// BluetoothGattNotifySession for the Chrome OS platform. |
ortuno
2015/11/06 18:15:42
Leftover "Chrome OS" reference.
rkc
2015/11/25 00:48:17
Done.
|
-class BluetoothGattNotifySessionChromeOS |
+class BluetoothGattNotifySessionBlueZ |
: public device::BluetoothGattNotifySession, |
public bluez::BluetoothGattCharacteristicClient::Observer { |
public: |
- ~BluetoothGattNotifySessionChromeOS() override; |
+ ~BluetoothGattNotifySessionBlueZ() override; |
// BluetoothGattNotifySession overrides. |
std::string GetCharacteristicIdentifier() const override; |
@@ -35,9 +36,9 @@ class BluetoothGattNotifySessionChromeOS |
void Stop(const base::Closure& callback) override; |
private: |
- friend class BluetoothRemoteGattCharacteristicChromeOS; |
+ friend class BluetoothRemoteGattCharacteristicBlueZ; |
- explicit BluetoothGattNotifySessionChromeOS( |
+ explicit BluetoothGattNotifySessionBlueZ( |
scoped_refptr<device::BluetoothAdapter> adapter, |
const std::string& device_address, |
const std::string& service_identifier, |
@@ -69,9 +70,9 @@ class BluetoothGattNotifySessionChromeOS |
// observer events. |
dbus::ObjectPath object_path_; |
- DISALLOW_COPY_AND_ASSIGN(BluetoothGattNotifySessionChromeOS); |
+ DISALLOW_COPY_AND_ASSIGN(BluetoothGattNotifySessionBlueZ); |
}; |
-} // namespace chromeos |
+} // namespace bluez |
-#endif // DEVICE_BLUETOOTH_BLUETOOTH_GATT_NOTIFY_SESSION_CHROMEOS_H_ |
+#endif // DEVICE_BLUETOOTH_BLUETOOTH_GATT_NOTIFY_SESSION_BLUEZ_H_ |