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

Unified Diff: device/bluetooth/bluetooth_gatt_notify_session_bluez.h

Issue 1367663002: Add Linux support for the Bluetooth API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@refactor_dbus
Patch Set: rebase Created 5 years, 3 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_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..6f0ea511e86ff3ab07eaece6055065e56a44672a 100644
--- a/device/bluetooth/bluetooth_gatt_notify_session_chromeos.h
+++ b/device/bluetooth/bluetooth_gatt_notify_session_bluez.h
@@ -2,8 +2,8 @@
// 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>
@@ -17,17 +17,17 @@ class BluetoothAdapter;
} // namespace device
-namespace chromeos {
+namespace bluez {
-class BluetoothRemoteGattCharacteristicChromeOS;
+class BluetoothRemoteGattCharacteristicBlueZ;
-// BluetoothGattNotifySessionChromeOS implements
+// BluetoothGattNotifySessionBlueZ implements
// BluetoothGattNotifySession for the Chrome OS platform.
-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 +35,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 +69,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_
« no previous file with comments | « device/bluetooth/bluetooth_gatt_connection_chromeos.cc ('k') | device/bluetooth/bluetooth_gatt_notify_session_bluez.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698