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

Side by Side Diff: chromeos/dbus/fake_bluetooth_media_transport_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
« no previous file with comments | « chromeos/dbus/fake_bluetooth_media_client.h ('k') | chromeos/dbus/fake_cras_audio_client.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 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
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_
OLDNEW
« no previous file with comments | « chromeos/dbus/fake_bluetooth_media_client.h ('k') | chromeos/dbus/fake_cras_audio_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698