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

Unified Diff: device/bluetooth/dbus/fake_bluetooth_input_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/fake_bluetooth_input_client.h
diff --git a/chromeos/dbus/fake_bluetooth_input_client.h b/device/bluetooth/dbus/fake_bluetooth_input_client.h
similarity index 85%
rename from chromeos/dbus/fake_bluetooth_input_client.h
rename to device/bluetooth/dbus/fake_bluetooth_input_client.h
index 56633ffd71ec0b2fccd3b85b683e5474f2130b91..e7a3b0a2683eaee0c6ce0e6eeffd92fe0828f259 100644
--- a/chromeos/dbus/fake_bluetooth_input_client.h
+++ b/device/bluetooth/dbus/fake_bluetooth_input_client.h
@@ -7,21 +7,21 @@
#include "base/callback.h"
#include "base/observer_list.h"
-#include "chromeos/chromeos_export.h"
-#include "chromeos/dbus/bluetooth_input_client.h"
#include "dbus/object_path.h"
#include "dbus/property.h"
+#include "device/bluetooth/bluetooth_export.h"
+#include "device/bluetooth/dbus/bluetooth_input_client.h"
-namespace chromeos {
+namespace bluez {
// FakeBluetoothInputClient simulates the behavior of the Bluetooth Daemon
// input device objects and is used both in test cases in place of a mock and on
// the Linux desktop.
-class CHROMEOS_EXPORT FakeBluetoothInputClient
+class DEVICE_BLUETOOTH_EXPORT FakeBluetoothInputClient
: public BluetoothInputClient {
public:
struct Properties : public BluetoothInputClient::Properties {
- explicit Properties(const PropertyChangedCallback & callback);
+ explicit Properties(const PropertyChangedCallback& callback);
~Properties() override;
// dbus::PropertySet override
@@ -51,7 +51,7 @@ class CHROMEOS_EXPORT FakeBluetoothInputClient
const std::string& property_name);
// Static properties we return.
- typedef std::map<const dbus::ObjectPath, Properties *> PropertiesMap;
+ typedef std::map<const dbus::ObjectPath, Properties*> PropertiesMap;
PropertiesMap properties_map_;
// List of observers interested in event notifications from us.
@@ -60,6 +60,6 @@ class CHROMEOS_EXPORT FakeBluetoothInputClient
DISALLOW_COPY_AND_ASSIGN(FakeBluetoothInputClient);
};
-} // namespace chromeos
+} // namespace bluez
#endif // CHROMEOS_DBUS_FAKE_BLUETOOTH_INPUT_CLIENT_H_

Powered by Google App Engine
This is Rietveld 408576698