// Copyright 2024 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef MEDIA_CAST_TEST_MOCK_OPENSCREEN_ENVIRONMENT_H_ #define MEDIA_CAST_TEST_MOCK_OPENSCREEN_ENVIRONMENT_H_ #include "testing/gmock/include/gmock/gmock.h" #include "third_party/openscreen/src/cast/streaming/environment.h" namespace media::cast { // An openscreen::cast::Environment that can intercept all packet sends, for // unit testing. class MockOpenscreenEnvironment : public openscreen::cast::Environment { … }; } // namespace media::cast #endif // MEDIA_CAST_TEST_MOCK_OPENSCREEN_ENVIRONMENT_H_