| OLD | NEW |
| 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_DBUS_FAKE_BLUETOOTH_MEDIA_TRANSPORT_CLIENT_H_ | 5 #ifndef CHROMEOS_DBUS_FAKE_BLUETOOTH_MEDIA_TRANSPORT_CLIENT_H_ |
| 6 #define CHROMEOS_DBUS_FAKE_BLUETOOTH_MEDIA_TRANSPORT_CLIENT_H_ | 6 #define CHROMEOS_DBUS_FAKE_BLUETOOTH_MEDIA_TRANSPORT_CLIENT_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 // Map of endpoints with valid transport. Each pair is composed of an endpoint | 131 // Map of endpoints with valid transport. Each pair is composed of an endpoint |
| 132 // path and a Transport structure containing a transport path and its | 132 // path and a Transport structure containing a transport path and its |
| 133 // properties. | 133 // properties. |
| 134 std::map<dbus::ObjectPath, Transport*> endpoint_to_transport_map_; | 134 std::map<dbus::ObjectPath, Transport*> endpoint_to_transport_map_; |
| 135 | 135 |
| 136 // Map of valid transports. Each pair is composed of a transport path as the | 136 // Map of valid transports. Each pair is composed of a transport path as the |
| 137 // key and an endpoint path as the value. This map is used to get the | 137 // key and an endpoint path as the value. This map is used to get the |
| 138 // corresponding endpoint path when GetProperties() is called. | 138 // corresponding endpoint path when GetProperties() is called. |
| 139 std::map<dbus::ObjectPath, dbus::ObjectPath> transport_to_endpoint_map_; | 139 std::map<dbus::ObjectPath, dbus::ObjectPath> transport_to_endpoint_map_; |
| 140 | 140 |
| 141 ObserverList<BluetoothMediaTransportClient::Observer> observers_; | 141 base::ObserverList<BluetoothMediaTransportClient::Observer> observers_; |
| 142 | 142 |
| 143 DISALLOW_COPY_AND_ASSIGN(FakeBluetoothMediaTransportClient); | 143 DISALLOW_COPY_AND_ASSIGN(FakeBluetoothMediaTransportClient); |
| 144 }; | 144 }; |
| 145 | 145 |
| 146 } // namespace chromeos | 146 } // namespace chromeos |
| 147 | 147 |
| 148 #endif // CHROMEOS_DBUS_FAKE_BLUETOOTH_MEDIA_TRANSPORT_CLIENT_H_ | 148 #endif // CHROMEOS_DBUS_FAKE_BLUETOOTH_MEDIA_TRANSPORT_CLIENT_H_ |
| OLD | NEW |