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 #include <vector> | 10 #include <vector> |
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 } | 187 } |
188 | 188 |
189 #if defined(OS_CHROMEOS) || defined(OS_LINUX) | 189 #if defined(OS_CHROMEOS) || defined(OS_LINUX) |
190 void FakeCentral::SetAdvertisingInterval( | 190 void FakeCentral::SetAdvertisingInterval( |
191 const base::TimeDelta& min, | 191 const base::TimeDelta& min, |
192 const base::TimeDelta& max, | 192 const base::TimeDelta& max, |
193 const base::Closure& callback, | 193 const base::Closure& callback, |
194 const AdvertisementErrorCallback& error_callback) { | 194 const AdvertisementErrorCallback& error_callback) { |
195 NOTREACHED(); | 195 NOTREACHED(); |
196 } | 196 } |
| 197 void FakeCentral::ResetAdvertising( |
| 198 const base::Closure& callback, |
| 199 const AdvertisementErrorCallback& error_callback) { |
| 200 NOTREACHED(); |
| 201 } |
197 #endif | 202 #endif |
198 | 203 |
199 device::BluetoothLocalGattService* FakeCentral::GetGattService( | 204 device::BluetoothLocalGattService* FakeCentral::GetGattService( |
200 const std::string& identifier) const { | 205 const std::string& identifier) const { |
201 NOTREACHED(); | 206 NOTREACHED(); |
202 return nullptr; | 207 return nullptr; |
203 } | 208 } |
204 | 209 |
205 void FakeCentral::AddDiscoverySession( | 210 void FakeCentral::AddDiscoverySession( |
206 device::BluetoothDiscoveryFilter* discovery_filter, | 211 device::BluetoothDiscoveryFilter* discovery_filter, |
(...skipping 17 matching lines...) Expand all Loading... |
224 } | 229 } |
225 | 230 |
226 void FakeCentral::RemovePairingDelegateInternal( | 231 void FakeCentral::RemovePairingDelegateInternal( |
227 device::BluetoothDevice::PairingDelegate* pairing_delegate) { | 232 device::BluetoothDevice::PairingDelegate* pairing_delegate) { |
228 NOTREACHED(); | 233 NOTREACHED(); |
229 } | 234 } |
230 | 235 |
231 FakeCentral::~FakeCentral() {} | 236 FakeCentral::~FakeCentral() {} |
232 | 237 |
233 } // namespace bluetooth | 238 } // namespace bluetooth |
OLD | NEW |