| // services/audio/public/mojom/audio_service.mojom-blink-test-utils.h is auto generated by mojom_bindings_generator.py, do not edit |
| |
| // Copyright 2019 The Chromium Authors |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| #ifndef SERVICES_AUDIO_PUBLIC_MOJOM_AUDIO_SERVICE_MOJOM_BLINK_TEST_UTILS_H_ |
| #define SERVICES_AUDIO_PUBLIC_MOJOM_AUDIO_SERVICE_MOJOM_BLINK_TEST_UTILS_H_ |
| |
| #include "services/audio/public/mojom/audio_service.mojom-blink.h" |
| |
| |
| namespace audio::mojom::blink { |
| |
| |
| class AudioServiceInterceptorForTesting : public AudioService { |
| virtual AudioService* GetForwardingInterface() = 0; |
| void BindSystemInfo(::mojo::PendingReceiver<::audio::mojom::blink::SystemInfo> receiver) override; |
| void BindDebugRecording(::mojo::PendingReceiver<::audio::mojom::blink::DebugRecording> receiver) override; |
| void BindStreamFactory(::mojo::PendingReceiver<::media::mojom::blink::AudioStreamFactory> receiver) override; |
| void BindDeviceNotifier(::mojo::PendingReceiver<::audio::mojom::blink::DeviceNotifier> receiver) override; |
| void BindLogFactoryManager(::mojo::PendingReceiver<::audio::mojom::blink::LogFactoryManager> receiver) override; |
| void BindTestingApi(::mojo::PendingReceiver<::audio::mojom::blink::TestingApi> receiver) override; |
| }; |
| class AudioServiceAsyncWaiter { |
| public: |
| explicit AudioServiceAsyncWaiter(AudioService* proxy); |
| |
| AudioServiceAsyncWaiter(const AudioServiceAsyncWaiter&) = delete; |
| AudioServiceAsyncWaiter& operator=(const AudioServiceAsyncWaiter&) = delete; |
| |
| ~AudioServiceAsyncWaiter(); |
| |
| private: |
| AudioService* const proxy_; |
| }; |
| |
| |
| |
| |
| } // audio::mojom::blink |
| |
| #endif // SERVICES_AUDIO_PUBLIC_MOJOM_AUDIO_SERVICE_MOJOM_BLINK_TEST_UTILS_H_ |