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

Unified Diff: device/bluetooth/bluetooth_gatt_connection_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_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..bca25f1c3da790d87a44e5cfc6f662f49e98d4aa 100644
--- a/device/bluetooth/bluetooth_gatt_connection_chromeos.h
+++ b/device/bluetooth/bluetooth_gatt_connection_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_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>
@@ -19,19 +19,19 @@ class BluetoothAdapter;
} // namespace device
-namespace chromeos {
+namespace bluez {
-// BluetoothGattConnectionChromeOS implements BluetoothGattConnection for the
+// BluetoothGattConnectionBlueZ implements BluetoothGattConnection for the
// Chrome OS platform.
-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 +50,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_
« no previous file with comments | « device/bluetooth/bluetooth_gatt_chromeos_unittest.cc ('k') | device/bluetooth/bluetooth_gatt_connection_bluez.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698