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 #include <memory> | 7 #include <memory> |
8 #include <utility> | 8 #include <utility> |
9 | 9 |
10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 const AdvertisementErrorCallback& error_callback) { | 101 const AdvertisementErrorCallback& error_callback) { |
102 callback.Run(new MockBluetoothAdvertisement); | 102 callback.Run(new MockBluetoothAdvertisement); |
103 } | 103 } |
104 | 104 |
105 #if defined(OS_CHROMEOS) || defined(OS_LINUX) | 105 #if defined(OS_CHROMEOS) || defined(OS_LINUX) |
106 void MockBluetoothAdapter::SetAdvertisingInterval( | 106 void MockBluetoothAdapter::SetAdvertisingInterval( |
107 const base::TimeDelta& min, | 107 const base::TimeDelta& min, |
108 const base::TimeDelta& max, | 108 const base::TimeDelta& max, |
109 const base::Closure& callback, | 109 const base::Closure& callback, |
110 const AdvertisementErrorCallback& error_callback) {} | 110 const AdvertisementErrorCallback& error_callback) {} |
| 111 void MockBluetoothAdapter::ResetAdvertising( |
| 112 const base::Closure& callback, |
| 113 const AdvertisementErrorCallback& error_callback) {} |
111 #endif | 114 #endif |
112 | 115 |
113 } // namespace device | 116 } // namespace device |
OLD | NEW |