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 #ifndef CHROMEOS_PAIRING_BLUETOOTH_CONTROLLER_PAIRING_FLOW_H_ | 5 #ifndef CHROMEOS_PAIRING_BLUETOOTH_CONTROLLER_PAIRING_FLOW_H_ |
6 #define CHROMEOS_PAIRING_BLUETOOTH_CONTROLLER_PAIRING_FLOW_H_ | 6 #define CHROMEOS_PAIRING_BLUETOOTH_CONTROLLER_PAIRING_FLOW_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 scoped_ptr<device::BluetoothDiscoverySession> discovery_session_; | 106 scoped_ptr<device::BluetoothDiscoverySession> discovery_session_; |
107 scoped_refptr<device::BluetoothSocket> socket_; | 107 scoped_refptr<device::BluetoothSocket> socket_; |
108 std::string controller_device_id_; | 108 std::string controller_device_id_; |
109 | 109 |
110 std::string confirmation_code_; | 110 std::string confirmation_code_; |
111 std::set<std::string> discovered_devices_; | 111 std::set<std::string> discovered_devices_; |
112 | 112 |
113 scoped_ptr<ProtoDecoder> proto_decoder_; | 113 scoped_ptr<ProtoDecoder> proto_decoder_; |
114 | 114 |
115 base::ThreadChecker thread_checker_; | 115 base::ThreadChecker thread_checker_; |
116 ObserverList<ControllerPairingController::Observer> observers_; | 116 base::ObserverList<ControllerPairingController::Observer> observers_; |
117 base::WeakPtrFactory<BluetoothControllerPairingController> ptr_factory_; | 117 base::WeakPtrFactory<BluetoothControllerPairingController> ptr_factory_; |
118 | 118 |
119 DISALLOW_COPY_AND_ASSIGN(BluetoothControllerPairingController); | 119 DISALLOW_COPY_AND_ASSIGN(BluetoothControllerPairingController); |
120 }; | 120 }; |
121 | 121 |
122 } // namespace pairing_chromeos | 122 } // namespace pairing_chromeos |
123 | 123 |
124 #endif // CHROMEOS_PAIRING_BLUETOOTH_CONTROLLER_PAIRING_FLOW_H_ | 124 #endif // CHROMEOS_PAIRING_BLUETOOTH_CONTROLLER_PAIRING_FLOW_H_ |
OLD | NEW |