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

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

Powered by Google App Engine
This is Rietveld 408576698