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

Side by Side Diff: chromeos/dbus/fake_cras_audio_client.h

Issue 2549043002: chromeos: Cleanup class/struct fwd declarations (Closed)
Patch Set: Created 4 years 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/dbus_thread_manager.h ('k') | chromeos/dbus/fake_shill_manager_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 (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 <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "chromeos/chromeos_export.h" 11 #include "chromeos/chromeos_export.h"
12 #include "chromeos/dbus/cras_audio_client.h" 12 #include "chromeos/dbus/cras_audio_client.h"
13 13
14 namespace chromeos { 14 namespace chromeos {
15 15
16 class CrasAudioHandlerTest;
17
18 // The CrasAudioClient implementation used on Linux desktop. 16 // The CrasAudioClient implementation used on Linux desktop.
19 class CHROMEOS_EXPORT FakeCrasAudioClient : public CrasAudioClient { 17 class CHROMEOS_EXPORT FakeCrasAudioClient : public CrasAudioClient {
20 public: 18 public:
21 FakeCrasAudioClient(); 19 FakeCrasAudioClient();
22 ~FakeCrasAudioClient() override; 20 ~FakeCrasAudioClient() override;
23 21
24 // CrasAudioClient overrides: 22 // CrasAudioClient overrides:
25 void Init(dbus::Bus* bus) override; 23 void Init(dbus::Bus* bus) override;
26 void AddObserver(Observer* observer) override; 24 void AddObserver(Observer* observer) override;
27 void RemoveObserver(Observer* observer) override; 25 void RemoveObserver(Observer* observer) override;
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 // SetOutputNodeVolume fake dbus call. 82 // SetOutputNodeVolume fake dbus call.
85 bool notify_volume_change_with_delay_ = false; 83 bool notify_volume_change_with_delay_ = false;
86 base::ObserverList<Observer> observers_; 84 base::ObserverList<Observer> observers_;
87 85
88 DISALLOW_COPY_AND_ASSIGN(FakeCrasAudioClient); 86 DISALLOW_COPY_AND_ASSIGN(FakeCrasAudioClient);
89 }; 87 };
90 88
91 } // namespace chromeos 89 } // namespace chromeos
92 90
93 #endif // CHROMEOS_DBUS_FAKE_CRAS_AUDIO_CLIENT_H_ 91 #endif // CHROMEOS_DBUS_FAKE_CRAS_AUDIO_CLIENT_H_
OLDNEW
« no previous file with comments | « chromeos/dbus/dbus_thread_manager.h ('k') | chromeos/dbus/fake_shill_manager_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698