Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "device/bluetooth/test/mock_bluetooth_adapter.h" | 5 #include "device/bluetooth/test/mock_bluetooth_adapter.h" |
| 6 | 6 |
| 7 namespace device { | 7 namespace device { |
| 8 | 8 |
| 9 MockBluetoothAdapter::Observer::Observer() {} | 9 MockBluetoothAdapter::Observer::Observer() {} |
| 10 MockBluetoothAdapter::Observer::~Observer() {} | 10 MockBluetoothAdapter::Observer::~Observer() {} |
| 11 | 11 |
| 12 MockBluetoothAdapter::MockBluetoothAdapter() { | 12 MockBluetoothAdapter::MockBluetoothAdapter() { |
| 13 } | 13 } |
| 14 | 14 |
| 15 MockBluetoothAdapter::~MockBluetoothAdapter() {} | 15 MockBluetoothAdapter::~MockBluetoothAdapter() {} |
| 16 | 16 |
| 17 void MockBluetoothAdapter::DeleteOnCorrectThread() { | |
|
armansito
2014/12/16 22:39:27
nit: Should be const.
scheib
2015/01/08 04:02:08
Done.
| |
| 18 delete this; | |
| 19 }; | |
| 20 | |
| 17 void MockBluetoothAdapter::AddDiscoverySession( | 21 void MockBluetoothAdapter::AddDiscoverySession( |
| 18 const base::Closure& callback, | 22 const base::Closure& callback, |
| 19 const ErrorCallback& error_callback) {} | 23 const ErrorCallback& error_callback) {} |
| 20 | 24 |
| 21 void MockBluetoothAdapter::RemoveDiscoverySession( | 25 void MockBluetoothAdapter::RemoveDiscoverySession( |
| 22 const base::Closure& callback, | 26 const base::Closure& callback, |
| 23 const ErrorCallback& error_callback) {} | 27 const ErrorCallback& error_callback) {} |
| 24 | 28 |
| 25 } // namespace device | 29 } // namespace device |
| OLD | NEW |