#include <stddef.h>
#include "base/command_line.h"
#include "build/build_config.h"
#include "content/browser/webrtc/webrtc_content_browsertest_base.h"
#include "content/public/test/browser_test.h"
#include "content/public/test/browser_test_utils.h"
#include "content/public/test/content_browser_test_utils.h"
#include "content/public/test/test_utils.h"
#include "content/shell/browser/shell.h"
#include "net/test/embedded_test_server/embedded_test_server.h"
#if BUILDFLAG(IS_WIN)
#include "base/win/windows_version.h"
#endif
namespace {
static const char kGetUserMediaAndStop[] = …;
static struct UserMediaSizes { … } const kAllUserMediaSizes[] = …;
}
namespace content {
class WebRtcConstraintsBrowserTest
: public WebRtcContentBrowserTestBase,
public testing::WithParamInterface<UserMediaSizes> { … };
#if defined(MEMORY_SANITIZER) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_FUCHSIA)
#define MAYBE_GetUserMediaConstraints …
#else
#define MAYBE_GetUserMediaConstraints …
#endif
IN_PROC_BROWSER_TEST_P(WebRtcConstraintsBrowserTest,
MAYBE_GetUserMediaConstraints) { … }
INSTANTIATE_TEST_SUITE_P(…);
}