Commit 72ed19a3 authored by Avi Drissman's avatar Avi Drissman Committed by Commit Bot

Remove SDK forward declaration

We build with the 10.14 SDK, so this is not needed.

BUG=1044838

Change-Id: I81ac8d37ee65d78d4b5a062b251c9fcfec840b8d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2020422
Auto-Submit: Avi Drissman <avi@chromium.org>
Commit-Queue: Ovidio de Jesús Ruiz-Henríquez <odejesush@chromium.org>
Reviewed-by: default avatarOvidio de Jesús Ruiz-Henríquez <odejesush@chromium.org>
Cr-Commit-Position: refs/heads/master@{#735102}
parent 104a2cad
......@@ -12,17 +12,6 @@
namespace {
#if !defined(MAC_OS_X_VERSION_10_13) || \
MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_13
const NSInteger CBErrorConnectionFailed = 10;
const NSInteger CBErrorConnectionLimitReached = 11;
// Match the SDK, which now has a typo. https://openradar.appspot.com/34413811
const NSInteger CBErrorUnkownDevice = 12;
#endif // MAC_OS_X_VERSION_10_13
MacOSBluetoothOperationsResult GetMacOSOperationResultFromNSError(
NSError* error) {
if (!error)
......@@ -63,7 +52,7 @@ MacOSBluetoothOperationsResult GetMacOSOperationResultFromNSError(
}
case CBErrorConnectionLimitReached:
return MacOSBluetoothOperationsResult::CBERROR_CONNECTION_LIMIT_REACHED;
case CBErrorUnkownDevice:
case CBErrorUnknownDevice:
return MacOSBluetoothOperationsResult::CBERROR_UNKNOWN_DEVICE;
default:
NOTREACHED();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment