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

Unified Diff: device/bluetooth/dbus/fake_bluetooth_adapter_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
« no previous file with comments | « device/bluetooth/dbus/bluez_dbus_manager.cc ('k') | device/bluetooth/dbus/fake_bluetooth_adapter_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/bluetooth/dbus/fake_bluetooth_adapter_client.h
diff --git a/chromeos/dbus/fake_bluetooth_adapter_client.h b/device/bluetooth/dbus/fake_bluetooth_adapter_client.h
similarity index 95%
rename from chromeos/dbus/fake_bluetooth_adapter_client.h
rename to device/bluetooth/dbus/fake_bluetooth_adapter_client.h
index 987fc6fcaa54dfa756c36aff5c337453f8c38f80..51cd8081ad797b34063c25dcbc6ef14e2fabc73c 100644
--- a/chromeos/dbus/fake_bluetooth_adapter_client.h
+++ b/device/bluetooth/dbus/fake_bluetooth_adapter_client.h
@@ -10,17 +10,17 @@
#include "base/bind.h"
#include "base/callback.h"
#include "base/observer_list.h"
-#include "chromeos/chromeos_export.h"
-#include "chromeos/dbus/bluetooth_adapter_client.h"
#include "dbus/object_path.h"
#include "dbus/property.h"
+#include "device/bluetooth/bluetooth_export.h"
+#include "device/bluetooth/dbus/bluetooth_adapter_client.h"
-namespace chromeos {
+namespace bluez {
// FakeBluetoothAdapterClient simulates the behavior of the Bluetooth Daemon
// adapter objects and is used both in test cases in place of a mock and on
// the Linux desktop.
-class CHROMEOS_EXPORT FakeBluetoothAdapterClient
+class DEVICE_BLUETOOTH_EXPORT FakeBluetoothAdapterClient
: public BluetoothAdapterClient {
public:
struct Properties : public BluetoothAdapterClient::Properties {
@@ -113,6 +113,6 @@ class CHROMEOS_EXPORT FakeBluetoothAdapterClient
int simulation_interval_ms_;
};
-} // namespace chromeos
+} // namespace bluez
#endif // CHROMEOS_DBUS_FAKE_BLUETOOTH_ADAPTER_CLIENT_H_
« no previous file with comments | « device/bluetooth/dbus/bluez_dbus_manager.cc ('k') | device/bluetooth/dbus/fake_bluetooth_adapter_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698