| OLD | NEW |
| 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_INPUT_CLIENT_H_ | 5 #ifndef CHROMEOS_DBUS_FAKE_BLUETOOTH_INPUT_CLIENT_H_ |
| 6 #define CHROMEOS_DBUS_FAKE_BLUETOOTH_INPUT_CLIENT_H_ | 6 #define CHROMEOS_DBUS_FAKE_BLUETOOTH_INPUT_CLIENT_H_ |
| 7 | 7 |
| 8 #include "base/callback.h" | 8 #include "base/callback.h" |
| 9 #include "base/observer_list.h" | 9 #include "base/observer_list.h" |
| 10 #include "chromeos/chromeos_export.h" | 10 #include "chromeos/chromeos_export.h" |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 private: | 48 private: |
| 49 // Property callback passed when we create Properties* structures. | 49 // Property callback passed when we create Properties* structures. |
| 50 void OnPropertyChanged(const dbus::ObjectPath& object_path, | 50 void OnPropertyChanged(const dbus::ObjectPath& object_path, |
| 51 const std::string& property_name); | 51 const std::string& property_name); |
| 52 | 52 |
| 53 // Static properties we return. | 53 // Static properties we return. |
| 54 typedef std::map<const dbus::ObjectPath, Properties *> PropertiesMap; | 54 typedef std::map<const dbus::ObjectPath, Properties *> PropertiesMap; |
| 55 PropertiesMap properties_map_; | 55 PropertiesMap properties_map_; |
| 56 | 56 |
| 57 // List of observers interested in event notifications from us. | 57 // List of observers interested in event notifications from us. |
| 58 ObserverList<Observer> observers_; | 58 base::ObserverList<Observer> observers_; |
| 59 | 59 |
| 60 DISALLOW_COPY_AND_ASSIGN(FakeBluetoothInputClient); | 60 DISALLOW_COPY_AND_ASSIGN(FakeBluetoothInputClient); |
| 61 }; | 61 }; |
| 62 | 62 |
| 63 } // namespace chromeos | 63 } // namespace chromeos |
| 64 | 64 |
| 65 #endif // CHROMEOS_DBUS_FAKE_BLUETOOTH_INPUT_CLIENT_H_ | 65 #endif // CHROMEOS_DBUS_FAKE_BLUETOOTH_INPUT_CLIENT_H_ |
| OLD | NEW |