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

Unified Diff: device/bluetooth/dbus/fake_bluetooth_gatt_descriptor_service_provider.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/fake_bluetooth_gatt_descriptor_service_provider.h
diff --git a/chromeos/dbus/fake_bluetooth_gatt_descriptor_service_provider.h b/device/bluetooth/dbus/fake_bluetooth_gatt_descriptor_service_provider.h
similarity index 89%
rename from chromeos/dbus/fake_bluetooth_gatt_descriptor_service_provider.h
rename to device/bluetooth/dbus/fake_bluetooth_gatt_descriptor_service_provider.h
index e9099b91371f4d311dd6786a09227cbed3a22b08..7e53625e8bd23fadf158d758325dab76520e21de 100644
--- a/chromeos/dbus/fake_bluetooth_gatt_descriptor_service_provider.h
+++ b/device/bluetooth/dbus/fake_bluetooth_gatt_descriptor_service_provider.h
@@ -8,16 +8,16 @@
#include <string>
#include <vector>
-#include "chromeos/chromeos_export.h"
-#include "chromeos/dbus/bluetooth_gatt_descriptor_service_provider.h"
#include "dbus/object_path.h"
+#include "device/bluetooth/bluetooth_export.h"
+#include "device/bluetooth/dbus/bluetooth_gatt_descriptor_service_provider.h"
-namespace chromeos {
+namespace bluez {
// FakeBluetoothGattDescriptorServiceProvider simulates behavior of a local
// GATT descriptor object and is used both in test cases in place of a mock
// and on the Linux desktop.
-class CHROMEOS_EXPORT FakeBluetoothGattDescriptorServiceProvider
+class DEVICE_BLUETOOTH_EXPORT FakeBluetoothGattDescriptorServiceProvider
: public BluetoothGattDescriptorServiceProvider {
public:
FakeBluetoothGattDescriptorServiceProvider(
@@ -43,7 +43,7 @@ class CHROMEOS_EXPORT FakeBluetoothGattDescriptorServiceProvider
const dbus::ObjectPath& object_path() const { return object_path_; }
const std::string& uuid() const { return uuid_; }
const dbus::ObjectPath& characteristic_path() const {
- return characteristic_path_;
+ return characteristic_path_;
}
private:
@@ -62,6 +62,6 @@ class CHROMEOS_EXPORT FakeBluetoothGattDescriptorServiceProvider
DISALLOW_COPY_AND_ASSIGN(FakeBluetoothGattDescriptorServiceProvider);
};
-} // namespace chromeos
+} // namespace bluez
#endif // CHROMEOS_DBUS_FAKE_BLUETOOTH_GATT_DESCRIPTOR_SERVICE_PROVIDER_H_

Powered by Google App Engine
This is Rietveld 408576698