Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(156)

Side by Side Diff: device/bluetooth/bluetooth_adapter_mac.h

Issue 2339253002: bluetooth: mac: add connected LE devices to chooser (Closed)
Patch Set: Cleanup Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698