| OLD | NEW |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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_DISCOVERY_SESSION_H_ | 5 #ifndef DEVICE_BLUETOOTH_DISCOVERY_SESSION_H_ |
| 6 #define DEVICE_BLUETOOTH_DISCOVERY_SESSION_H_ | 6 #define DEVICE_BLUETOOTH_DISCOVERY_SESSION_H_ |
| 7 | 7 |
| 8 #include "base/memory/ptr_util.h" | 8 #include "base/memory/ptr_util.h" |
| 9 #include "device/bluetooth/bluetooth_discovery_session.h" | 9 #include "device/bluetooth/bluetooth_discovery_session.h" |
| 10 #include "device/bluetooth/public/interfaces/adapter.mojom.h" | 10 #include "device/bluetooth/public/interfaces/adapter.mojom.h" |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 // The underlying discovery session. | 36 // The underlying discovery session. |
| 37 std::unique_ptr<device::BluetoothDiscoverySession> discovery_session_; | 37 std::unique_ptr<device::BluetoothDiscoverySession> discovery_session_; |
| 38 | 38 |
| 39 base::WeakPtrFactory<DiscoverySession> weak_ptr_factory_; | 39 base::WeakPtrFactory<DiscoverySession> weak_ptr_factory_; |
| 40 | 40 |
| 41 DISALLOW_COPY_AND_ASSIGN(DiscoverySession); | 41 DISALLOW_COPY_AND_ASSIGN(DiscoverySession); |
| 42 }; | 42 }; |
| 43 | 43 |
| 44 } // namespace bluetooth | 44 } // namespace bluetooth |
| 45 | 45 |
| 46 #endif | 46 #endif |
| OLD | NEW |