#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "third_party/blink/public/common/mediastream/media_stream_mojom_traits.h"
#include "base/base64.h"
#include "base/rand_util.h"
#include "media/audio/audio_device_description.h"
#include "mojo/public/cpp/test_support/test_utils.h"
#include "testing/gmock/include/gmock/gmock-matchers.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/common/mediastream/media_stream_controls.h"
#include "third_party/blink/public/mojom/mediastream/media_stream.mojom.h"
#include <string>
namespace {
std::string GetRandomDeviceId() { … }
std::string GetRandomOtherId() { … }
}
TEST(MediaStreamMojomTraitsTest,
TrackControlsSerialization_DeviceCaptureStreamTypes) { … }
TEST(MediaStreamMojomTraitsTest, TrackControlsSerialization_OtherStreamTypes) { … }