OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #include "extensions/browser/api/bluetooth/bluetooth_private_api.h" | 5 #include "extensions/browser/api/bluetooth/bluetooth_private_api.h" |
6 | 6 |
| 7 #include <stdint.h> |
| 8 |
7 #include <utility> | 9 #include <utility> |
8 | 10 |
9 #include "base/callback.h" | 11 #include "base/callback.h" |
10 #include "base/lazy_instance.h" | 12 #include "base/lazy_instance.h" |
11 #include "base/strings/string_util.h" | 13 #include "base/strings/string_util.h" |
12 #include "device/bluetooth/bluetooth_adapter.h" | 14 #include "device/bluetooth/bluetooth_adapter.h" |
13 #include "device/bluetooth/bluetooth_adapter_factory.h" | 15 #include "device/bluetooth/bluetooth_adapter_factory.h" |
14 #include "device/bluetooth/bluetooth_discovery_session.h" | 16 #include "device/bluetooth/bluetooth_discovery_session.h" |
15 #include "extensions/browser/api/bluetooth/bluetooth_api.h" | 17 #include "extensions/browser/api/bluetooth/bluetooth_api.h" |
16 #include "extensions/browser/api/bluetooth/bluetooth_api_pairing_delegate.h" | 18 #include "extensions/browser/api/bluetooth/bluetooth_api_pairing_delegate.h" |
(...skipping 573 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
590 device::BluetoothDevice::ConnectErrorCode error) { | 592 device::BluetoothDevice::ConnectErrorCode error) { |
591 SetError(kPairingFailed); | 593 SetError(kPairingFailed); |
592 SendResponse(false); | 594 SendResponse(false); |
593 } | 595 } |
594 | 596 |
595 //////////////////////////////////////////////////////////////////////////////// | 597 //////////////////////////////////////////////////////////////////////////////// |
596 | 598 |
597 } // namespace api | 599 } // namespace api |
598 | 600 |
599 } // namespace extensions | 601 } // namespace extensions |
OLD | NEW |