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

Unified Diff: chromeos/dbus/fake_bluetooth_media_client.h

Issue 876153002: device/bluetooth:Implement Register() for BluetoothAudioSinkChromeOS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Moved kBluetoothAudioSinkUUID to BluetoothMediaClient. Created 5 years, 11 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: chromeos/dbus/fake_bluetooth_media_client.h
diff --git a/chromeos/dbus/fake_bluetooth_media_client.h b/chromeos/dbus/fake_bluetooth_media_client.h
index b355c65442e7adf136371b32155519ab4e42fd45..1cb7ba9ca09fe4bd18f97e6e80f9adb7ddeef124 100644
--- a/chromeos/dbus/fake_bluetooth_media_client.h
+++ b/chromeos/dbus/fake_bluetooth_media_client.h
@@ -11,6 +11,8 @@
#include "chromeos/dbus/bluetooth_media_client.h"
#include "dbus/object_path.h"
+using dbus::ObjectPath;
armansito 2015/01/29 04:22:55 Don't use the "using" directive in header files.
Miao 2015/01/29 23:58:38 Removed.
+
namespace chromeos {
class CHROMEOS_EXPORT FakeBluetoothMediaClient : public BluetoothMediaClient {
@@ -24,13 +26,13 @@ class CHROMEOS_EXPORT FakeBluetoothMediaClient : public BluetoothMediaClient {
// BluetoothMediaClient overrides.
void AddObserver(BluetoothMediaClient::Observer* observer) override;
void RemoveObserver(BluetoothMediaClient::Observer* observer) override;
- void RegisterEndpoint(const dbus::ObjectPath& object_path,
- const dbus::ObjectPath& endpoint_path,
+ void RegisterEndpoint(const ObjectPath& object_path,
+ const ObjectPath& endpoint_path,
const EndpointProperties& properties,
const base::Closure& callback,
const ErrorCallback& error_callback) override;
- void UnregisterEndpoint(const dbus::ObjectPath& object_path,
- const dbus::ObjectPath& endpoint_path,
+ void UnregisterEndpoint(const ObjectPath& object_path,
+ const ObjectPath& endpoint_path,
const base::Closure& callback,
const ErrorCallback& error_callback) override;

Powered by Google App Engine
This is Rietveld 408576698