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

Side by Side Diff: chromeos/dbus/fake_cras_audio_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 (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_CRAS_AUDIO_CLIENT_H_ 5 #ifndef CHROMEOS_DBUS_FAKE_CRAS_AUDIO_CLIENT_H_
6 #define CHROMEOS_DBUS_FAKE_CRAS_AUDIO_CLIENT_H_ 6 #define CHROMEOS_DBUS_FAKE_CRAS_AUDIO_CLIENT_H_
7 7
8 #include "chromeos/chromeos_export.h" 8 #include "chromeos/chromeos_export.h"
9 #include "chromeos/dbus/cras_audio_client.h" 9 #include "chromeos/dbus/cras_audio_client.h"
10 10
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 43
44 // Calls SetAudioNodesForTesting() and additionally notifies |observers_|. 44 // Calls SetAudioNodesForTesting() and additionally notifies |observers_|.
45 void SetAudioNodesAndNotifyObserversForTesting( 45 void SetAudioNodesAndNotifyObserversForTesting(
46 const AudioNodeList& new_nodes); 46 const AudioNodeList& new_nodes);
47 47
48 private: 48 private:
49 VolumeState volume_state_; 49 VolumeState volume_state_;
50 AudioNodeList node_list_; 50 AudioNodeList node_list_;
51 uint64 active_input_node_id_; 51 uint64 active_input_node_id_;
52 uint64 active_output_node_id_; 52 uint64 active_output_node_id_;
53 ObserverList<Observer> observers_; 53 base::ObserverList<Observer> observers_;
54 54
55 DISALLOW_COPY_AND_ASSIGN(FakeCrasAudioClient); 55 DISALLOW_COPY_AND_ASSIGN(FakeCrasAudioClient);
56 }; 56 };
57 57
58 } // namespace chromeos 58 } // namespace chromeos
59 59
60 #endif // CHROMEOS_DBUS_FAKE_CRAS_AUDIO_CLIENT_H_ 60 #endif // CHROMEOS_DBUS_FAKE_CRAS_AUDIO_CLIENT_H_
OLDNEW
« no previous file with comments | « chromeos/dbus/fake_bluetooth_media_transport_client.h ('k') | chromeos/dbus/fake_nfc_adapter_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698