| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 #ifndef DEVICE_BLUETOOTH_BLUETOOTH_ADVERTISEMENT_CHROMEOS_H_ | 5 #ifndef DEVICE_BLUETOOTH_TEST_MOCK_BLUETOOTH_ADVERTISEMENT_H_ |
| 6 #define DEVICE_BLUETOOTH_BLUETOOTH_ADVERTISEMENT_CHROMEOS_H_ | 6 #define DEVICE_BLUETOOTH_TEST_MOCK_BLUETOOTH_ADVERTISEMENT_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "device/bluetooth/bluetooth_advertisement.h" | 9 #include "device/bluetooth/bluetooth_advertisement.h" |
| 10 | 10 |
| 11 namespace device { | 11 namespace device { |
| 12 | 12 |
| 13 class MockBluetoothAdvertisement : public device::BluetoothAdvertisement { | 13 class MockBluetoothAdvertisement : public device::BluetoothAdvertisement { |
| 14 public: | 14 public: |
| 15 MockBluetoothAdvertisement(); | 15 MockBluetoothAdvertisement(); |
| 16 | 16 |
| 17 // BluetoothAdvertisement overrides: | 17 // BluetoothAdvertisement overrides: |
| 18 void Unregister(const SuccessCallback& success_callback, | 18 void Unregister(const SuccessCallback& success_callback, |
| 19 const ErrorCallback& error_callback) override; | 19 const ErrorCallback& error_callback) override; |
| 20 | 20 |
| 21 private: | 21 private: |
| 22 ~MockBluetoothAdvertisement() override; | 22 ~MockBluetoothAdvertisement() override; |
| 23 | 23 |
| 24 DISALLOW_COPY_AND_ASSIGN(MockBluetoothAdvertisement); | 24 DISALLOW_COPY_AND_ASSIGN(MockBluetoothAdvertisement); |
| 25 }; | 25 }; |
| 26 | 26 |
| 27 } // namespace chromeos | 27 } // namespace device |
| 28 | 28 |
| 29 #endif // DEVICE_BLUETOOTH_BLUETOOTH_ADVERTISEMENT_CHROMEOS_H_ | 29 #endif // DEVICE_BLUETOOTH_TEST_MOCK_BLUETOOTH_ADVERTISEMENT_H_ |
| OLD | NEW |