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

Side by Side Diff: components/pairing/bluetooth_controller_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_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
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_
OLDNEW
« no previous file with comments | « components/ownership/owner_settings_service.h ('k') | components/pairing/bluetooth_host_pairing_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698