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

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

Issue 1540803002: Switch to standard integer types in chromeos/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more includes Created 5 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/fake_ap_manager_client.h ('k') | chromeos/dbus/fake_audio_dsp_client.cc » ('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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_AUDIO_DSP_CLIENT_H_ 5 #ifndef CHROMEOS_DBUS_FAKE_AUDIO_DSP_CLIENT_H_
6 #define CHROMEOS_DBUS_FAKE_AUDIO_DSP_CLIENT_H_ 6 #define CHROMEOS_DBUS_FAKE_AUDIO_DSP_CLIENT_H_
7 7
8 #include "base/basictypes.h" 8 #include <stdint.h>
9
10 #include "base/macros.h"
9 #include "chromeos/chromeos_export.h" 11 #include "chromeos/chromeos_export.h"
10 #include "chromeos/dbus/audio_dsp_client.h" 12 #include "chromeos/dbus/audio_dsp_client.h"
11 #include "chromeos/dbus/dbus_client.h" 13 #include "chromeos/dbus/dbus_client.h"
12 14
13 namespace chromeos { 15 namespace chromeos {
14 16
15 // A fake implementation of AudioDspClient. Invokes callbacks immediately. 17 // A fake implementation of AudioDspClient. Invokes callbacks immediately.
16 class CHROMEOS_EXPORT FakeAudioDspClient : public AudioDspClient { 18 class CHROMEOS_EXPORT FakeAudioDspClient : public AudioDspClient {
17 public: 19 public:
18 FakeAudioDspClient(); 20 FakeAudioDspClient();
(...skipping 10 matching lines...) Expand all
29 const VoidDBusMethodCallback& callback) override; 31 const VoidDBusMethodCallback& callback) override;
30 void SetNightMode(bool standby, 32 void SetNightMode(bool standby,
31 const VoidDBusMethodCallback& callback) override; 33 const VoidDBusMethodCallback& callback) override;
32 void GetNightMode(const BoolDBusMethodCallback& callback) override; 34 void GetNightMode(const BoolDBusMethodCallback& callback) override;
33 void SetTreble(double db_fs, const VoidDBusMethodCallback& callback) override; 35 void SetTreble(double db_fs, const VoidDBusMethodCallback& callback) override;
34 void GetTreble(const DoubleDBusMethodCallback& callback) override; 36 void GetTreble(const DoubleDBusMethodCallback& callback) override;
35 void SetBass(double db_fs, const VoidDBusMethodCallback& callback) override; 37 void SetBass(double db_fs, const VoidDBusMethodCallback& callback) override;
36 void GetBass(const DoubleDBusMethodCallback& callback) override; 38 void GetBass(const DoubleDBusMethodCallback& callback) override;
37 void GetCapabilitiesOEM( 39 void GetCapabilitiesOEM(
38 const ThreeStringDBusMethodCallback& callback) override; 40 const ThreeStringDBusMethodCallback& callback) override;
39 void SetCapabilitiesOEM(uint32 speaker_id, 41 void SetCapabilitiesOEM(uint32_t speaker_id,
40 const std::string& speaker_capabilities, 42 const std::string& speaker_capabilities,
41 const std::string& driver_capabilities, 43 const std::string& driver_capabilities,
42 const VoidDBusMethodCallback& callback) override; 44 const VoidDBusMethodCallback& callback) override;
43 void GetFilterConfigOEM(uint32 speaker_id, 45 void GetFilterConfigOEM(uint32_t speaker_id,
44 const TwoStringDBusMethodCallback& callback) override; 46 const TwoStringDBusMethodCallback& callback) override;
45 void SetFilterConfigOEM(const std::string& speaker_config, 47 void SetFilterConfigOEM(const std::string& speaker_config,
46 const std::string& driver_config, 48 const std::string& driver_config,
47 const VoidDBusMethodCallback& callback) override; 49 const VoidDBusMethodCallback& callback) override;
48 void SetSourceType(uint16 source_type, 50 void SetSourceType(uint16_t source_type,
49 const VoidDBusMethodCallback& callback) override; 51 const VoidDBusMethodCallback& callback) override;
50 void AmplifierVolumeChanged(double db_spl, 52 void AmplifierVolumeChanged(double db_spl,
51 const VoidDBusMethodCallback& callback) override; 53 const VoidDBusMethodCallback& callback) override;
52 54
53 private: 55 private:
54 DISALLOW_COPY_AND_ASSIGN(FakeAudioDspClient); 56 DISALLOW_COPY_AND_ASSIGN(FakeAudioDspClient);
55 }; 57 };
56 58
57 } // namespace chromeos 59 } // namespace chromeos
58 60
59 #endif // CHROMEOS_DBUS_FAKE_AUDIO_DSP_CLIENT_H_ 61 #endif // CHROMEOS_DBUS_FAKE_AUDIO_DSP_CLIENT_H_
OLDNEW
« no previous file with comments | « chromeos/dbus/fake_ap_manager_client.h ('k') | chromeos/dbus/fake_audio_dsp_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698