#ifndef CHROME_BROWSER_MEDIA_ROUTER_DISCOVERY_ACCESS_CODE_ACCESS_CODE_TEST_UTIL_H_
#define CHROME_BROWSER_MEDIA_ROUTER_DISCOVERY_ACCESS_CODE_ACCESS_CODE_TEST_UTIL_H_
#include "chrome/browser/media/router/discovery/access_code/access_code_cast_pref_updater.h"
#include "chrome/browser/media/router/discovery/access_code/access_code_cast_sink_service.h"
#include "chrome/browser/media/router/discovery/access_code/discovery_resources.pb.h"
#include "chrome/browser/media/router/discovery/mdns/media_sink_util.h"
#include "components/media_router/common/discovery/media_sink_internal.h"
#include "testing/gmock/include/gmock/gmock.h"
namespace media_router {
const char kExpectedDisplayName[] = …;
const char kExpectedSinkId[] = …;
const char kExpectedPort[] = …;
const char kExpectedIpV4[] = …;
const char kExpectedIpV6[] = …;
DiscoveryDevice;
NetworkInfo;
DiscoveryDevice BuildDiscoveryDeviceProto(
const char* display_name = kExpectedDisplayName,
const char* sink_id = kExpectedSinkId,
const char* port = kExpectedPort,
const char* ip_v4 = kExpectedIpV4,
const char* ip_v6 = kExpectedIpV6,
bool set_device_capabilities = true,
bool set_network_info = true);
class MockAccessCodeCastSinkService : public AccessCodeCastSinkService { … };
class MockAccessCodeCastPrefUpdater : public AccessCodeCastPrefUpdater { … };
MediaRoute CreateRouteForTesting(const MediaSink::Id& sink_id);
}
#endif