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

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

Issue 2745983003: Bluetooth: macOS: Adding logs (Closed)
Patch Set: Changing GetIdentifier() by GetUUID() + pointer Created 3 years, 9 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_LOW_ENERGY_DEVICE_MAC_H_ 5 #ifndef DEVICE_BLUETOOTH_BLUETOOTH_LOW_ENERGY_DEVICE_MAC_H_
6 #define DEVICE_BLUETOOTH_BLUETOOTH_LOW_ENERGY_DEVICE_MAC_H_ 6 #define DEVICE_BLUETOOTH_BLUETOOTH_LOW_ENERGY_DEVICE_MAC_H_
7 7
8 #if defined(OS_IOS) 8 #if defined(OS_IOS)
9 #import <CoreBluetooth/CoreBluetooth.h> 9 #import <CoreBluetooth/CoreBluetooth.h>
10 #else // !defined(OS_IOS) 10 #else // !defined(OS_IOS)
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 std::string hash_address_; 144 std::string hash_address_;
145 145
146 // Increases each time -[CBPeripheral discoverServices:] is called, and 146 // Increases each time -[CBPeripheral discoverServices:] is called, and
147 // decreases each time DidDiscoverPrimaryServices() is called. Once the 147 // decreases each time DidDiscoverPrimaryServices() is called. Once the
148 // value is set to 0, characteristics and properties are discovered. 148 // value is set to 0, characteristics and properties are discovered.
149 int discovery_pending_count_; 149 int discovery_pending_count_;
150 150
151 DISALLOW_COPY_AND_ASSIGN(BluetoothLowEnergyDeviceMac); 151 DISALLOW_COPY_AND_ASSIGN(BluetoothLowEnergyDeviceMac);
152 }; 152 };
153 153
154 // Stream operator for logging.
155 DEVICE_BLUETOOTH_EXPORT std::ostream& operator<<(
156 std::ostream& out,
157 const BluetoothLowEnergyDeviceMac& device);
158
154 } // namespace device 159 } // namespace device
155 160
156 #endif // DEVICE_BLUETOOTH_BLUETOOTH_LOW_ENERGY_DEVICE_MAC_H_ 161 #endif // DEVICE_BLUETOOTH_BLUETOOTH_LOW_ENERGY_DEVICE_MAC_H_
OLDNEW
« no previous file with comments | « device/bluetooth/bluetooth_adapter_mac.mm ('k') | device/bluetooth/bluetooth_low_energy_device_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698