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

Unified Diff: device/bluetooth/dbus/bluetooth_gatt_manager_client.h

Issue 1347193004: Refactor DBusThreadManager to split away BT clients. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/dbus/bluetooth_gatt_manager_client.h
diff --git a/chromeos/dbus/bluetooth_gatt_manager_client.h b/device/bluetooth/dbus/bluetooth_gatt_manager_client.h
similarity index 84%
rename from chromeos/dbus/bluetooth_gatt_manager_client.h
rename to device/bluetooth/dbus/bluetooth_gatt_manager_client.h
index 155c2b5322f5ef49ebd5403b4e9b2ea133295c8a..3fab5c3f3bfc0171bf1f921cc178fb8f726cc6bc 100644
--- a/chromeos/dbus/bluetooth_gatt_manager_client.h
+++ b/device/bluetooth/dbus/bluetooth_gatt_manager_client.h
@@ -2,24 +2,25 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROMEOS_DBUS_BLUETOOTH_GATT_MANAGER_CLIENT_H_
-#define CHROMEOS_DBUS_BLUETOOTH_GATT_MANAGER_CLIENT_H_
+#ifndef DEVICE_BLUETOOTH_DBUS_BLUETOOTH_GATT_MANAGER_CLIENT_H_
+#define DEVICE_BLUETOOTH_DBUS_BLUETOOTH_GATT_MANAGER_CLIENT_H_
#include <string>
#include "base/callback.h"
-#include "chromeos/chromeos_export.h"
-#include "chromeos/dbus/dbus_client.h"
#include "dbus/object_path.h"
+#include "device/bluetooth/bluetooth_export.h"
+#include "device/bluetooth/dbus/bluez_dbus_client.h"
-namespace chromeos {
+namespace bluez {
// BluetoothGattManagerClient is used to communicate with the GATT Service
// manager object of the Bluetooth daemon.
-class CHROMEOS_EXPORT BluetoothGattManagerClient : public DBusClient {
+class DEVICE_BLUETOOTH_EXPORT BluetoothGattManagerClient
+ : public BluezDBusClient {
public:
// Options used to register a GATT service hierarchy.
- struct CHROMEOS_EXPORT Options {
+ struct DEVICE_BLUETOOTH_EXPORT Options {
// TODO(armansito): This parameter is not yet clearly defined. Add fields
// later as we know more about how this will be used.
};
@@ -67,6 +68,6 @@ class CHROMEOS_EXPORT BluetoothGattManagerClient : public DBusClient {
DISALLOW_COPY_AND_ASSIGN(BluetoothGattManagerClient);
};
-} // namespace chromeos
+} // namespace bluez
-#endif // CHROMEOS_DBUS_BLUETOOTH_GATT_MANAGER_CLIENT_H_
+#endif // DEVICE_BLUETOOTH_DBUS_BLUETOOTH_GATT_MANAGER_CLIENT_H_

Powered by Google App Engine
This is Rietveld 408576698