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(const std::string& address, | 12 MockBluetoothAdapter::MockBluetoothAdapter() { |
13 const std::string& name) { | |
14 address_ = address; | |
15 name_ = name; | |
16 } | 13 } |
17 | 14 |
18 MockBluetoothAdapter::~MockBluetoothAdapter() {} | 15 MockBluetoothAdapter::~MockBluetoothAdapter() {} |
19 | 16 |
20 } // namespace device | 17 } // namespace device |
OLD | NEW |