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_HOST_PAIRING_CONTROLLER_H_ | 5 #ifndef CHROMEOS_PAIRING_BLUETOOTH_HOST_PAIRING_CONTROLLER_H_ |
6 #define CHROMEOS_PAIRING_BLUETOOTH_HOST_PAIRING_CONTROLLER_H_ | 6 #define CHROMEOS_PAIRING_BLUETOOTH_HOST_PAIRING_CONTROLLER_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
10 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 UpdateStatus update_status_; | 104 UpdateStatus update_status_; |
105 EnrollmentStatus enrollment_status_; | 105 EnrollmentStatus enrollment_status_; |
106 std::string permanent_id_; | 106 std::string permanent_id_; |
107 | 107 |
108 scoped_refptr<device::BluetoothAdapter> adapter_; | 108 scoped_refptr<device::BluetoothAdapter> adapter_; |
109 scoped_refptr<device::BluetoothSocket> service_socket_; | 109 scoped_refptr<device::BluetoothSocket> service_socket_; |
110 scoped_refptr<device::BluetoothSocket> controller_socket_; | 110 scoped_refptr<device::BluetoothSocket> controller_socket_; |
111 scoped_ptr<ProtoDecoder> proto_decoder_; | 111 scoped_ptr<ProtoDecoder> proto_decoder_; |
112 | 112 |
113 base::ThreadChecker thread_checker_; | 113 base::ThreadChecker thread_checker_; |
114 ObserverList<Observer> observers_; | 114 base::ObserverList<Observer> observers_; |
115 base::WeakPtrFactory<BluetoothHostPairingController> ptr_factory_; | 115 base::WeakPtrFactory<BluetoothHostPairingController> ptr_factory_; |
116 | 116 |
117 DISALLOW_COPY_AND_ASSIGN(BluetoothHostPairingController); | 117 DISALLOW_COPY_AND_ASSIGN(BluetoothHostPairingController); |
118 }; | 118 }; |
119 | 119 |
120 } // namespace pairing_chromeos | 120 } // namespace pairing_chromeos |
121 | 121 |
122 #endif // CHROMEOS_PAIRING_BLUETOOTH_HOST_PAIRING_CONTROLLER_H_ | 122 #endif // CHROMEOS_PAIRING_BLUETOOTH_HOST_PAIRING_CONTROLLER_H_ |
OLD | NEW |