OLD | NEW |
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 COMPONENTS_AUDIO_MODEM_TEST_STUB_MODEM_H_ | 5 #ifndef COMPONENTS_AUDIO_MODEM_TEST_STUB_MODEM_H_ |
6 #define COMPONENTS_AUDIO_MODEM_TEST_STUB_MODEM_H_ | 6 #define COMPONENTS_AUDIO_MODEM_TEST_STUB_MODEM_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/callback.h" | 11 #include "base/callback.h" |
| 12 #include "base/macros.h" |
12 #include "components/audio_modem/public/modem.h" | 13 #include "components/audio_modem/public/modem.h" |
13 | 14 |
14 namespace audio_modem { | 15 namespace audio_modem { |
15 | 16 |
16 class StubModem final : public Modem { | 17 class StubModem final : public Modem { |
17 public: | 18 public: |
18 StubModem(); | 19 StubModem(); |
19 ~StubModem() override; | 20 ~StubModem() override; |
20 | 21 |
21 // AudioManager overrides: | 22 // AudioManager overrides: |
(...skipping 20 matching lines...) Expand all Loading... |
42 bool recording_[2]; | 43 bool recording_[2]; |
43 | 44 |
44 TokensCallback tokens_callback_; | 45 TokensCallback tokens_callback_; |
45 | 46 |
46 DISALLOW_COPY_AND_ASSIGN(StubModem); | 47 DISALLOW_COPY_AND_ASSIGN(StubModem); |
47 }; | 48 }; |
48 | 49 |
49 } // namespace audio_modem | 50 } // namespace audio_modem |
50 | 51 |
51 #endif // COMPONENTS_AUDIO_MODEM_TEST_STUB_MODEM_H_ | 52 #endif // COMPONENTS_AUDIO_MODEM_TEST_STUB_MODEM_H_ |
OLD | NEW |