| // services/audio/public/mojom/testing_api.mojom-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_TESTING_API_MOJOM_TEST_UTILS_H_ |
| #define SERVICES_AUDIO_PUBLIC_MOJOM_TESTING_API_MOJOM_TEST_UTILS_H_ |
| |
| #include "services/audio/public/mojom/testing_api.mojom.h" |
| |
| |
| namespace audio::mojom { |
| |
| |
| class TestingApiInterceptorForTesting : public TestingApi { |
| virtual TestingApi* GetForwardingInterface() = 0; |
| void Crash() override; |
| }; |
| class TestingApiAsyncWaiter { |
| public: |
| explicit TestingApiAsyncWaiter(TestingApi* proxy); |
| |
| TestingApiAsyncWaiter(const TestingApiAsyncWaiter&) = delete; |
| TestingApiAsyncWaiter& operator=(const TestingApiAsyncWaiter&) = delete; |
| |
| ~TestingApiAsyncWaiter(); |
| |
| private: |
| TestingApi* const proxy_; |
| }; |
| |
| |
| |
| |
| } // audio::mojom |
| |
| #endif // SERVICES_AUDIO_PUBLIC_MOJOM_TESTING_API_MOJOM_TEST_UTILS_H_ |