#include <stddef.h>
#include "base/memory/ptr_util.h"
#include "base/run_loop.h"
#include "base/test/simple_test_clock.h"
#include "base/time/time.h"
#include "chrome/browser/media/router/discovery/dial/dial_device_data.h"
#include "chrome/browser/media/router/discovery/dial/dial_registry.h"
#include "chrome/browser/media/router/discovery/dial/dial_service.h"
#include "chrome/test/base/testing_profile.h"
#include "content/public/browser/browser_task_traits.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/test/browser_task_environment.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "url/gurl.h"
Time;
_;
DoAll;
InSequence;
NiceMock;
Return;
SetArgPointee;
StrictMock;
namespace media_router {
class MockDialRegistryClient : public DialRegistry::Client { … };
class MockNetworkConnectionTracker : public network::NetworkConnectionTracker { … };
class MockDialService : public DialService { … };
class MockDialRegistry : public DialRegistry { … };
class DialRegistryTest : public testing::Test { … };
TEST_F(DialRegistryTest, TestNoDevicesDiscovered) { … }
TEST_F(DialRegistryTest, TestDevicesDiscovered) { … }
TEST_F(DialRegistryTest, TestDeviceExpires) { … }
TEST_F(DialRegistryTest, TestExpiredDeviceIsRediscovered) { … }
TEST_F(DialRegistryTest, TestNetworkEventConnectionLost) { … }
TEST_F(DialRegistryTest, TestNetworkEventConnectionRestored) { … }
}