| Index: device/bluetooth/bluetooth_adapter_mac.h
|
| diff --git a/device/bluetooth/bluetooth_adapter_mac.h b/device/bluetooth/bluetooth_adapter_mac.h
|
| index fb832c862bd3adf69d9cc4647ff9285f4e226ca5..52b1634a364c2f9f31542252b16a20dfe04a433c 100644
|
| --- a/device/bluetooth/bluetooth_adapter_mac.h
|
| +++ b/device/bluetooth/bluetooth_adapter_mac.h
|
| @@ -29,6 +29,25 @@
|
| @class NSArray;
|
| @class NSDate;
|
|
|
| +#if !defined(MAC_OS_X_VERSION_10_13)
|
| +
|
| +// The 10.13 SDK deprecates the CBCentralManagerState enum. When building
|
| +// against older SDKs, define the new enum in terms of the deprecated one.
|
| +using CBManagerState = CBCentralManagerState;
|
| +constexpr CBManagerState CBManagerStateUnknown = CBCentralManagerStateUnknown;
|
| +constexpr CBManagerState CBManagerStateResetting =
|
| + CBCentralManagerStateResetting;
|
| +constexpr CBManagerState CBManagerStateUnsupported =
|
| + CBCentralManagerStateUnsupported;
|
| +constexpr CBManagerState CBManagerStateUnauthorized =
|
| + CBCentralManagerStateUnauthorized;
|
| +constexpr CBManagerState CBManagerStatePoweredOff =
|
| + CBCentralManagerStatePoweredOff;
|
| +constexpr CBManagerState CBManagerStatePoweredOn =
|
| + CBCentralManagerStatePoweredOn;
|
| +
|
| +#endif // MAC_OS_X_VERSION_10_13
|
| +
|
| namespace base {
|
|
|
| class SequencedTaskRunner;
|
|
|