#include "chrome/browser/media/router/discovery/dial/dial_media_sink_service_impl.h"
#include "base/functional/bind.h"
#include "base/memory/ptr_util.h"
#include "base/memory/raw_ptr.h"
#include "base/task/sequenced_task_runner.h"
#include "base/test/mock_callback.h"
#include "base/test/scoped_feature_list.h"
#include "base/timer/mock_timer.h"
#include "chrome/browser/media/router/discovery/dial/dial_device_data.h"
#include "chrome/browser/media/router/media_router_feature.h"
#include "chrome/browser/media/router/test/provider_test_helpers.h"
#include "content/public/test/browser_task_environment.h"
#include "services/data_decoder/public/cpp/test_support/in_process_data_decoder.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
_;
IsEmpty;
Return;
namespace media_router {
class MockDeviceDescriptionService : public DeviceDescriptionService { … };
class DialMediaSinkServiceImplTest : public ::testing::Test { … };
TEST_F(DialMediaSinkServiceImplTest, OnDeviceDescriptionAvailable) { … }
TEST_F(DialMediaSinkServiceImplTest,
OnDeviceDescriptionAvailableIPAddressChanged) { … }
TEST_F(DialMediaSinkServiceImplTest, OnDeviceDescriptionRestartsTimer) { … }
TEST_F(DialMediaSinkServiceImplTest, OnDialDeviceListRestartsTimer) { … }
TEST_F(DialMediaSinkServiceImplTest, StartStopMonitoringAvailableSinksForApp) { … }
TEST_F(DialMediaSinkServiceImplTest, OnDialAppInfoAvailableNoStartMonitoring) { … }
TEST_F(DialMediaSinkServiceImplTest, OnDialAppInfoAvailableNoSink) { … }
TEST_F(DialMediaSinkServiceImplTest, OnDialAppInfoAvailableSinksAdded) { … }
TEST_F(DialMediaSinkServiceImplTest, OnDialAppInfoAvailableSinksRemoved) { … }
TEST_F(DialMediaSinkServiceImplTest,
OnDialAppInfoAvailableWithAlreadyAvailableSinks) { … }
TEST_F(DialMediaSinkServiceImplTest, StartAfterStopMonitoringForApp) { … }
TEST_F(DialMediaSinkServiceImplTest, FetchDialAppInfoWithDiscoveryOnlySink) { … }
TEST_F(DialMediaSinkServiceImplTest, DiscoveryOnUserGesture) { … }
}