Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(314)

Side by Side Diff: components/pairing/bluetooth_host_pairing_controller.h

Issue 1162943002: Replace more ObserverList with base::ObserverList. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@observer
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « components/pairing/bluetooth_controller_pairing_controller.h ('k') | components/pairing/fake_controller_pairing_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698