| Index: chromeos/dbus/fake_bluetooth_agent_manager_client.cc
|
| diff --git a/chromeos/dbus/fake_bluetooth_agent_manager_client.cc b/chromeos/dbus/fake_bluetooth_agent_manager_client.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..6dba12e982bc5edd24200a127d302ba8fe24dffd
|
| --- /dev/null
|
| +++ b/chromeos/dbus/fake_bluetooth_agent_manager_client.cc
|
| @@ -0,0 +1,45 @@
|
| +// Copyright (c) 2013 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "chromeos/dbus/fake_bluetooth_agent_manager_client.h"
|
| +
|
| +#include "base/bind.h"
|
| +#include "base/logging.h"
|
| +#include "dbus/object_path.h"
|
| +#include "third_party/cros_system_api/dbus/service_constants.h"
|
| +
|
| +namespace chromeos {
|
| +
|
| +FakeBluetoothAgentManagerClient::FakeBluetoothAgentManagerClient() {
|
| +}
|
| +
|
| +FakeBluetoothAgentManagerClient::~FakeBluetoothAgentManagerClient() {
|
| +}
|
| +
|
| +void FakeBluetoothAgentManagerClient::RegisterAgent(
|
| + const dbus::ObjectPath& agent_path,
|
| + const std::string& capability,
|
| + const base::Closure& callback,
|
| + const ErrorCallback& error_callback) {
|
| + VLOG(1) << "RegisterAgent: " << agent_path.value();
|
| + callback.Run();
|
| +}
|
| +
|
| +void FakeBluetoothAgentManagerClient::UnregisterAgent(
|
| + const dbus::ObjectPath& agent_path,
|
| + const base::Closure& callback,
|
| + const ErrorCallback& error_callback) {
|
| + VLOG(1) << "UnregisterAgent: " << agent_path.value();
|
| + callback.Run();
|
| +}
|
| +
|
| +void FakeBluetoothAgentManagerClient::RequestDefaultAgent(
|
| + const dbus::ObjectPath& agent_path,
|
| + const base::Closure& callback,
|
| + const ErrorCallback& error_callback) {
|
| + VLOG(1) << "RequestDefaultAgent: " << agent_path.value();
|
| + callback.Run();
|
| +}
|
| +
|
| +} // namespace chromeos
|
|
|