| Index: chromeos/dbus/fake_bluetooth_device_client.cc
|
| diff --git a/chromeos/dbus/fake_bluetooth_device_client.cc b/chromeos/dbus/fake_bluetooth_device_client.cc
|
| index 44b9a0b5a407c01a8cab726157522e528e16cbc0..194a3b9f28f0182a12a33bc0b2a46757c574a0b3 100644
|
| --- a/chromeos/dbus/fake_bluetooth_device_client.cc
|
| +++ b/chromeos/dbus/fake_bluetooth_device_client.cc
|
| @@ -220,7 +220,8 @@ FakeBluetoothDeviceClient::FakeBluetoothDeviceClient()
|
| : simulation_interval_ms_(kSimulationIntervalMs),
|
| discovery_simulation_step_(0),
|
| incoming_pairing_simulation_step_(0),
|
| - pairing_cancelled_(false) {
|
| + pairing_cancelled_(false),
|
| + connection_monitor_started_(false) {
|
| Properties* properties = new Properties(base::Bind(
|
| &FakeBluetoothDeviceClient::OnPropertyChanged,
|
| base::Unretained(this),
|
| @@ -459,6 +460,22 @@ void FakeBluetoothDeviceClient::CancelPairing(
|
| callback.Run();
|
| }
|
|
|
| +void FakeBluetoothDeviceClient::StartConnectionMonitor(
|
| + const dbus::ObjectPath& object_path,
|
| + const base::Closure& callback,
|
| + const ErrorCallback& error_callback) {
|
| + VLOG(1) << "StartConnectionMonitor: " << object_path.value();
|
| + connection_monitor_started_ = true;
|
| + callback.Run();
|
| +}
|
| +
|
| +void FakeBluetoothDeviceClient::StopConnectionMonitor(
|
| + const dbus::ObjectPath& object_path,
|
| + const base::Closure& callback,
|
| + const ErrorCallback& error_callback) {
|
| + connection_monitor_started_ = false;
|
| + callback.Run();
|
| +}
|
|
|
| void FakeBluetoothDeviceClient::BeginDiscoverySimulation(
|
| const dbus::ObjectPath& adapter_path) {
|
|
|