1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "chromeos/dbus/fake_bluetooth_media_client.h"
9 FakeBluetoothMediaClient::FakeBluetoothMediaClient() {
12 FakeBluetoothMediaClient::~FakeBluetoothMediaClient() {
15 void FakeBluetoothMediaClient::Init(dbus::Bus
* bus
) {
18 // TODO(mcchou): Add method definition for |RegisterEndpoint|,
19 // |UnregisterEndpoint|, |RegisterPlayer| and |UnregisterPlayer|.
20 void FakeBluetoothMediaClient::RegisterEndpoint(
21 const dbus::ObjectPath
& object_path
,
22 const dbus::ObjectPath
& endpoint_path
,
23 const EndpointProperties
& properties
,
24 const base::Closure
& callback
,
25 const ErrorCallback
& error_callback
) {
26 error_callback
.Run("org.bluez.NotImplemented", "");
29 void FakeBluetoothMediaClient::UnregisterEndpoint(
30 const dbus::ObjectPath
& object_path
,
31 const dbus::ObjectPath
& endpoint_path
,
32 const base::Closure
& callback
,
33 const ErrorCallback
& error_callback
) {
34 error_callback
.Run("org.bluez.NotImplemented", "");
37 } // namespace chromeos