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

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

Issue 1948763003: Adding support for service scan on OS X (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cleanup
Patch Set: Fixing comments Created 4 years, 7 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
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef DEVICE_BLUETOOTH_BLUETOOTH_LOW_ENERGY_PERIPHERAL_DELEGATE_H_
6 #define DEVICE_BLUETOOTH_BLUETOOTH_LOW_ENERGY_PERIPHERAL_DELEGATE_H_
7
8 #include "base/mac/sdk_forward_declarations.h"
9 #include "base/memory/ref_counted.h"
10 #include "build/build_config.h"
11
12 #if defined(OS_IOS)
13 #import <CoreBluetooth/CoreBluetooth.h>
14 #else
15 #import <IOBluetooth/IOBluetooth.h>
16 #endif
17
18 namespace device {
19
20 class BluetoothLowEnergyDeviceMac;
21 class BluetoothLowEnergyPeripheralBridge;
22
23 } // namespace device
24
25 // This class will serve as the Objective-C delegate of CBPeripheral.
26 @interface BluetoothLowEnergyPeripheralDelegate
27 : NSObject<CBPeripheralDelegate> {
28 std::unique_ptr<device::BluetoothLowEnergyPeripheralBridge> bridge_;
29 }
30
31 - (id)initWithBluetoothLowEnergyDeviceMac:
32 (device::BluetoothLowEnergyDeviceMac*)device_mac;
33
34 @end
35
36 #endif // DEVICE_BLUETOOTH_BLUETOOTH_LOW_ENERGY_PERIPHERAL_DELEGATE_H_
OLDNEW
« no previous file with comments | « device/bluetooth/bluetooth_low_energy_device_mac.mm ('k') | device/bluetooth/bluetooth_low_energy_peripheral_delegate.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698