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

Side by Side Diff: chromeos/dbus/fake_bluetooth_device_client.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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_DBUS_FAKE_BLUETOOTH_DEVICE_CLIENT_H_ 5 #ifndef CHROMEOS_DBUS_FAKE_BLUETOOTH_DEVICE_CLIENT_H_
6 #define CHROMEOS_DBUS_FAKE_BLUETOOTH_DEVICE_CLIENT_H_ 6 #define CHROMEOS_DBUS_FAKE_BLUETOOTH_DEVICE_CLIENT_H_
7 7
8 #include <map> 8 #include <map>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 const base::Closure& callback, 237 const base::Closure& callback,
238 const ErrorCallback& error_callback, 238 const ErrorCallback& error_callback,
239 BluetoothProfileServiceProvider::Delegate::Status status); 239 BluetoothProfileServiceProvider::Delegate::Status status);
240 void DisconnectionCallback( 240 void DisconnectionCallback(
241 const dbus::ObjectPath& object_path, 241 const dbus::ObjectPath& object_path,
242 const base::Closure& callback, 242 const base::Closure& callback,
243 const ErrorCallback& error_callback, 243 const ErrorCallback& error_callback,
244 BluetoothProfileServiceProvider::Delegate::Status status); 244 BluetoothProfileServiceProvider::Delegate::Status status);
245 245
246 // List of observers interested in event notifications from us. 246 // List of observers interested in event notifications from us.
247 ObserverList<Observer> observers_; 247 base::ObserverList<Observer> observers_;
248 248
249 // Static properties we return. 249 // Static properties we return.
250 typedef std::map<const dbus::ObjectPath, Properties *> PropertiesMap; 250 typedef std::map<const dbus::ObjectPath, Properties *> PropertiesMap;
251 PropertiesMap properties_map_; 251 PropertiesMap properties_map_;
252 std::vector<dbus::ObjectPath> device_list_; 252 std::vector<dbus::ObjectPath> device_list_;
253 253
254 int simulation_interval_ms_; 254 int simulation_interval_ms_;
255 uint32_t discovery_simulation_step_; 255 uint32_t discovery_simulation_step_;
256 uint32_t incoming_pairing_simulation_step_; 256 uint32_t incoming_pairing_simulation_step_;
257 bool pairing_cancelled_; 257 bool pairing_cancelled_;
258 258
259 int16 connection_rssi_; 259 int16 connection_rssi_;
260 int16 transmit_power_; 260 int16 transmit_power_;
261 int16 max_transmit_power_; 261 int16 max_transmit_power_;
262 }; 262 };
263 263
264 } // namespace chromeos 264 } // namespace chromeos
265 265
266 #endif // CHROMEOS_DBUS_FAKE_BLUETOOTH_DEVICE_CLIENT_H_ 266 #endif // CHROMEOS_DBUS_FAKE_BLUETOOTH_DEVICE_CLIENT_H_
OLDNEW
« no previous file with comments | « chromeos/dbus/fake_bluetooth_adapter_client.h ('k') | chromeos/dbus/fake_bluetooth_gatt_characteristic_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698