OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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/fake_central.h" | 5 #include "device/bluetooth/test/fake_central.h" |
6 | 6 |
7 #include <memory> | 7 #include <memory> |
8 #include <string> | 8 #include <string> |
9 #include <utility> | 9 #include <utility> |
10 | 10 |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 } | 142 } |
143 | 143 |
144 #if defined(OS_CHROMEOS) || defined(OS_LINUX) | 144 #if defined(OS_CHROMEOS) || defined(OS_LINUX) |
145 void FakeCentral::SetAdvertisingInterval( | 145 void FakeCentral::SetAdvertisingInterval( |
146 const base::TimeDelta& min, | 146 const base::TimeDelta& min, |
147 const base::TimeDelta& max, | 147 const base::TimeDelta& max, |
148 const base::Closure& callback, | 148 const base::Closure& callback, |
149 const AdvertisementErrorCallback& error_callback) { | 149 const AdvertisementErrorCallback& error_callback) { |
150 NOTREACHED(); | 150 NOTREACHED(); |
151 } | 151 } |
| 152 void FakeCentral::ResetAdvertising( |
| 153 const base::Closure& callback, |
| 154 const AdvertisementErrorCallback& error_callback) { |
| 155 NOTREACHED(); |
| 156 } |
152 #endif | 157 #endif |
153 | 158 |
154 device::BluetoothLocalGattService* FakeCentral::GetGattService( | 159 device::BluetoothLocalGattService* FakeCentral::GetGattService( |
155 const std::string& identifier) const { | 160 const std::string& identifier) const { |
156 NOTREACHED(); | 161 NOTREACHED(); |
157 return nullptr; | 162 return nullptr; |
158 } | 163 } |
159 | 164 |
160 void FakeCentral::AddDiscoverySession( | 165 void FakeCentral::AddDiscoverySession( |
161 device::BluetoothDiscoveryFilter* discovery_filter, | 166 device::BluetoothDiscoveryFilter* discovery_filter, |
(...skipping 17 matching lines...) Expand all Loading... |
179 } | 184 } |
180 | 185 |
181 void FakeCentral::RemovePairingDelegateInternal( | 186 void FakeCentral::RemovePairingDelegateInternal( |
182 device::BluetoothDevice::PairingDelegate* pairing_delegate) { | 187 device::BluetoothDevice::PairingDelegate* pairing_delegate) { |
183 NOTREACHED(); | 188 NOTREACHED(); |
184 } | 189 } |
185 | 190 |
186 FakeCentral::~FakeCentral() {} | 191 FakeCentral::~FakeCentral() {} |
187 | 192 |
188 } // namespace bluetooth | 193 } // namespace bluetooth |
OLD | NEW |