| // mojo/public/cpp/bindings/tests/supports_urgent_attribute_unittest.test-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 MOJO_PUBLIC_CPP_BINDINGS_TESTS_SUPPORTS_URGENT_ATTRIBUTE_UNITTEST_TEST_MOJOM_BLINK_TEST_UTILS_H_ |
| #define MOJO_PUBLIC_CPP_BINDINGS_TESTS_SUPPORTS_URGENT_ATTRIBUTE_UNITTEST_TEST_MOJOM_BLINK_TEST_UTILS_H_ |
| |
| #include "mojo/public/cpp/bindings/tests/supports_urgent_attribute_unittest.test-mojom-blink.h" |
| |
| |
| namespace mojo::test::supports_urgent_attribute_unittest::mojom::blink { |
| |
| |
| class TestInterfaceInterceptorForTesting : public TestInterface { |
| virtual TestInterface* GetForwardingInterface() = 0; |
| void MaybeUrgentMessage() override; |
| void NonUrgentMessage() override; |
| }; |
| class TestInterfaceAsyncWaiter { |
| public: |
| explicit TestInterfaceAsyncWaiter(TestInterface* proxy); |
| |
| TestInterfaceAsyncWaiter(const TestInterfaceAsyncWaiter&) = delete; |
| TestInterfaceAsyncWaiter& operator=(const TestInterfaceAsyncWaiter&) = delete; |
| |
| ~TestInterfaceAsyncWaiter(); |
| |
| private: |
| TestInterface* const proxy_; |
| }; |
| |
| |
| |
| |
| } // mojo::test::supports_urgent_attribute_unittest::mojom::blink |
| |
| #endif // MOJO_PUBLIC_CPP_BINDINGS_TESTS_SUPPORTS_URGENT_ATTRIBUTE_UNITTEST_TEST_MOJOM_BLINK_TEST_UTILS_H_ |