| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_ADAPTER_MAC_H_ | 5 #ifndef DEVICE_BLUETOOTH_BLUETOOTH_ADAPTER_MAC_H_ |
| 6 #define DEVICE_BLUETOOTH_BLUETOOTH_ADAPTER_MAC_H_ | 6 #define DEVICE_BLUETOOTH_BLUETOOTH_ADAPTER_MAC_H_ |
| 7 | 7 |
| 8 #include <IOKit/IOReturn.h> | 8 #include <IOKit/IOReturn.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 bool IsPresent() const override; | 63 bool IsPresent() const override; |
| 64 bool IsPowered() const override; | 64 bool IsPowered() const override; |
| 65 void SetPowered(bool powered, | 65 void SetPowered(bool powered, |
| 66 const base::Closure& callback, | 66 const base::Closure& callback, |
| 67 const ErrorCallback& error_callback) override; | 67 const ErrorCallback& error_callback) override; |
| 68 bool IsDiscoverable() const override; | 68 bool IsDiscoverable() const override; |
| 69 void SetDiscoverable(bool discoverable, | 69 void SetDiscoverable(bool discoverable, |
| 70 const base::Closure& callback, | 70 const base::Closure& callback, |
| 71 const ErrorCallback& error_callback) override; | 71 const ErrorCallback& error_callback) override; |
| 72 bool IsDiscovering() const override; | 72 bool IsDiscovering() const override; |
| 73 void RetrievedConnectedPeripherals() override; |
| 73 UUIDList GetUUIDs() const override; | 74 UUIDList GetUUIDs() const override; |
| 74 void CreateRfcommService( | 75 void CreateRfcommService( |
| 75 const BluetoothUUID& uuid, | 76 const BluetoothUUID& uuid, |
| 76 const ServiceOptions& options, | 77 const ServiceOptions& options, |
| 77 const CreateServiceCallback& callback, | 78 const CreateServiceCallback& callback, |
| 78 const CreateServiceErrorCallback& error_callback) override; | 79 const CreateServiceErrorCallback& error_callback) override; |
| 79 void CreateL2capService( | 80 void CreateL2capService( |
| 80 const BluetoothUUID& uuid, | 81 const BluetoothUUID& uuid, |
| 81 const ServiceOptions& options, | 82 const ServiceOptions& options, |
| 82 const CreateServiceCallback& callback, | 83 const CreateServiceCallback& callback, |
| (...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 200 scoped_refptr<base::SequencedTaskRunner> ui_task_runner_; | 201 scoped_refptr<base::SequencedTaskRunner> ui_task_runner_; |
| 201 | 202 |
| 202 base::WeakPtrFactory<BluetoothAdapterMac> weak_ptr_factory_; | 203 base::WeakPtrFactory<BluetoothAdapterMac> weak_ptr_factory_; |
| 203 | 204 |
| 204 DISALLOW_COPY_AND_ASSIGN(BluetoothAdapterMac); | 205 DISALLOW_COPY_AND_ASSIGN(BluetoothAdapterMac); |
| 205 }; | 206 }; |
| 206 | 207 |
| 207 } // namespace device | 208 } // namespace device |
| 208 | 209 |
| 209 #endif // DEVICE_BLUETOOTH_BLUETOOTH_ADAPTER_MAC_H_ | 210 #endif // DEVICE_BLUETOOTH_BLUETOOTH_ADAPTER_MAC_H_ |
| OLD | NEW |