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

Side by Side Diff: device/bluetooth/bluetooth_advertisement.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
« no previous file with comments | « device/bluetooth/bluetooth_adapter.h ('k') | device/bluetooth/bluetooth_audio_sink_chromeos.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_BLUETOOTH_ADVERTISEMENT_H_ 5 #ifndef DEVICE_BLUETOOTH_BLUETOOTH_ADVERTISEMENT_H_
6 #define DEVICE_BLUETOOTH_BLUETOOTH_ADVERTISEMENT_H_ 6 #define DEVICE_BLUETOOTH_BLUETOOTH_ADVERTISEMENT_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 protected: 119 protected:
120 friend class base::RefCounted<BluetoothAdvertisement>; 120 friend class base::RefCounted<BluetoothAdvertisement>;
121 121
122 BluetoothAdvertisement(); 122 BluetoothAdvertisement();
123 123
124 // The destructor will unregister this advertisement. 124 // The destructor will unregister this advertisement.
125 virtual ~BluetoothAdvertisement(); 125 virtual ~BluetoothAdvertisement();
126 126
127 // List of observers interested in event notifications from us. Objects in 127 // List of observers interested in event notifications from us. Objects in
128 // |observers_| are expected to outlive a BluetoothAdvertisement object. 128 // |observers_| are expected to outlive a BluetoothAdvertisement object.
129 ObserverList<BluetoothAdvertisement::Observer> observers_; 129 base::ObserverList<BluetoothAdvertisement::Observer> observers_;
130 130
131 private: 131 private:
132 DISALLOW_COPY_AND_ASSIGN(BluetoothAdvertisement); 132 DISALLOW_COPY_AND_ASSIGN(BluetoothAdvertisement);
133 }; 133 };
134 134
135 } // namespace device 135 } // namespace device
136 136
137 #endif // DEVICE_BLUETOOTH_BLUETOOTH_ADVERTISEMENT_H_ 137 #endif // DEVICE_BLUETOOTH_BLUETOOTH_ADVERTISEMENT_H_
OLDNEW
« no previous file with comments | « device/bluetooth/bluetooth_adapter.h ('k') | device/bluetooth/bluetooth_audio_sink_chromeos.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698