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_CLIENT_H_ | 5 #ifndef CHROMEOS_DBUS_FAKE_BLUETOOTH_MEDIA_CLIENT_H_ |
6 #define CHROMEOS_DBUS_FAKE_BLUETOOTH_MEDIA_CLIENT_H_ | 6 #define CHROMEOS_DBUS_FAKE_BLUETOOTH_MEDIA_CLIENT_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 | 9 |
10 #include "base/callback.h" | 10 #include "base/callback.h" |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 | 59 |
60 // The path of the media object. | 60 // The path of the media object. |
61 dbus::ObjectPath object_path_; | 61 dbus::ObjectPath object_path_; |
62 | 62 |
63 // Map of registered endpoints. Each pair is composed of an endpoint path as | 63 // Map of registered endpoints. Each pair is composed of an endpoint path as |
64 // key and a pointer to the endpoint as value. | 64 // key and a pointer to the endpoint as value. |
65 std::map<dbus::ObjectPath, FakeBluetoothMediaEndpointServiceProvider*> | 65 std::map<dbus::ObjectPath, FakeBluetoothMediaEndpointServiceProvider*> |
66 endpoints_; | 66 endpoints_; |
67 | 67 |
68 // List of observers interested in event notifications from us. | 68 // List of observers interested in event notifications from us. |
69 ObserverList<BluetoothMediaClient::Observer> observers_; | 69 base::ObserverList<BluetoothMediaClient::Observer> observers_; |
70 | 70 |
71 DISALLOW_COPY_AND_ASSIGN(FakeBluetoothMediaClient); | 71 DISALLOW_COPY_AND_ASSIGN(FakeBluetoothMediaClient); |
72 }; | 72 }; |
73 | 73 |
74 } // namespace chromeos | 74 } // namespace chromeos |
75 | 75 |
76 #endif // CHROMEOS_DBUS_FAKE_BLUETOOTH_MEDIA_CLIENT_H_ | 76 #endif // CHROMEOS_DBUS_FAKE_BLUETOOTH_MEDIA_CLIENT_H_ |
OLD | NEW |