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

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

Issue 1542163002: Switch to standard integer types in device/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: win Created 5 years 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_CENTRAL_MANAGER_DELEGATE_H_ 5 #ifndef DEVICE_BLUETOOTH_BLUETOOTH_LOW_ENERGY_CENTRAL_MANAGER_DELEGATE_H_
6 #define DEVICE_BLUETOOTH_BLUETOOTH_LOW_ENERGY_CENTRAL_MANAGER_DELEGATE_H_ 6 #define DEVICE_BLUETOOTH_BLUETOOTH_LOW_ENERGY_CENTRAL_MANAGER_DELEGATE_H_
7 7
8 #include "base/mac/sdk_forward_declarations.h" 8 #include "base/mac/sdk_forward_declarations.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "build/build_config.h"
10 11
11 #if defined(OS_IOS) 12 #if defined(OS_IOS)
12 #import <CoreBluetooth/CoreBluetooth.h> 13 #import <CoreBluetooth/CoreBluetooth.h>
13 #else 14 #else
14 #import <IOBluetooth/IOBluetooth.h> 15 #import <IOBluetooth/IOBluetooth.h>
15 #endif 16 #endif
16 17
17 namespace device { 18 namespace device {
18 19
19 class BluetoothAdapterMac; 20 class BluetoothAdapterMac;
20 class BluetoothLowEnergyCentralManagerBridge; 21 class BluetoothLowEnergyCentralManagerBridge;
21 class BluetoothLowEnergyDiscoveryManagerMac; 22 class BluetoothLowEnergyDiscoveryManagerMac;
22 23
23 } // namespace device 24 } // namespace device
24 25
25 // This class will serve as the Objective-C delegate of CBCentralManager. 26 // This class will serve as the Objective-C delegate of CBCentralManager.
26 @interface BluetoothLowEnergyCentralManagerDelegate 27 @interface BluetoothLowEnergyCentralManagerDelegate
27 : NSObject<CBCentralManagerDelegate> { 28 : NSObject<CBCentralManagerDelegate> {
28 scoped_ptr<device::BluetoothLowEnergyCentralManagerBridge> bridge_; 29 scoped_ptr<device::BluetoothLowEnergyCentralManagerBridge> bridge_;
29 } 30 }
30 31
31 - (id)initWithDiscoveryManager: 32 - (id)initWithDiscoveryManager:
32 (device::BluetoothLowEnergyDiscoveryManagerMac*)discovery_manager 33 (device::BluetoothLowEnergyDiscoveryManagerMac*)discovery_manager
33 andAdapter:(device::BluetoothAdapterMac*)adapter; 34 andAdapter:(device::BluetoothAdapterMac*)adapter;
34 35
35 @end 36 @end
36 37
37 #endif // DEVICE_BLUETOOTH_BLUETOOTH_LOW_ENERGY_CENTRAL_MANAGER_DELEGATE_H_ 38 #endif // DEVICE_BLUETOOTH_BLUETOOTH_LOW_ENERGY_CENTRAL_MANAGER_DELEGATE_H_
OLDNEW
« no previous file with comments | « device/bluetooth/bluetooth_l2cap_channel_mac.h ('k') | device/bluetooth/bluetooth_low_energy_device_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698