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

Unified Diff: device/bluetooth/dbus/fake_bluetooth_media_transport_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_media_transport_client.h
diff --git a/chromeos/dbus/fake_bluetooth_media_transport_client.h b/device/bluetooth/dbus/fake_bluetooth_media_transport_client.h
similarity index 94%
rename from chromeos/dbus/fake_bluetooth_media_transport_client.h
rename to device/bluetooth/dbus/fake_bluetooth_media_transport_client.h
index f1b2e536663849a575d2c8546463828f57b7f339..8403c364c99a1fac577482685b36eda643976510 100644
--- a/chromeos/dbus/fake_bluetooth_media_transport_client.h
+++ b/device/bluetooth/dbus/fake_bluetooth_media_transport_client.h
@@ -12,15 +12,15 @@
#include "base/files/file.h"
#include "base/memory/scoped_ptr.h"
#include "base/observer_list.h"
-#include "chromeos/chromeos_export.h"
-#include "chromeos/dbus/bluetooth_media_transport_client.h"
#include "dbus/object_path.h"
+#include "device/bluetooth/bluetooth_export.h"
+#include "device/bluetooth/dbus/bluetooth_media_transport_client.h"
-namespace chromeos {
+namespace bluez {
class FakeBluetoothMediaEndpointServiceProvider;
-class CHROMEOS_EXPORT FakeBluetoothMediaTransportClient
+class DEVICE_BLUETOOTH_EXPORT FakeBluetoothMediaTransportClient
: public BluetoothMediaTransportClient {
public:
struct Properties : public BluetoothMediaTransportClient::Properties {
@@ -78,8 +78,7 @@ class CHROMEOS_EXPORT FakeBluetoothMediaTransportClient
// Set state/volume property to a certain value.
void SetState(const dbus::ObjectPath& endpoint_path,
const std::string& state);
- void SetVolume(const dbus::ObjectPath& endpoint_path,
- const uint16_t& volume);
+ void SetVolume(const dbus::ObjectPath& endpoint_path, const uint16_t& volume);
// Writes bytes to the input file descriptor, |input_fd|, associated with a
// transport object which is bound to |endpoint_path|.
@@ -143,6 +142,6 @@ class CHROMEOS_EXPORT FakeBluetoothMediaTransportClient
DISALLOW_COPY_AND_ASSIGN(FakeBluetoothMediaTransportClient);
};
-} // namespace chromeos
+} // namespace bluez
#endif // CHROMEOS_DBUS_FAKE_BLUETOOTH_MEDIA_TRANSPORT_CLIENT_H_

Powered by Google App Engine
This is Rietveld 408576698