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 "chrome/browser/chromeos/bluetooth/test/mock_bluetooth_adapter.h" | 5 #include "chrome/browser/chromeos/bluetooth/test/mock_bluetooth_adapter.h" |
6 | 6 |
7 namespace chromeos { | 7 namespace chromeos { |
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(const std::string& address, |
| 13 const std::string& name) { |
| 14 address_ = address; |
| 15 name_ = name; |
| 16 } |
| 17 |
13 MockBluetoothAdapter::~MockBluetoothAdapter() {} | 18 MockBluetoothAdapter::~MockBluetoothAdapter() {} |
14 | 19 |
15 } // namespace chromeos | 20 } // namespace chromeos |
OLD | NEW |