#include <memory>
#include "base/functional/bind.h"
#include "media/base/video_codecs.h"
#include "media/mojo/mojom/media_types.mojom.h"
#include "media/mojo/services/webrtc_video_perf_recorder.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
_;
namespace media {
namespace {
const bool kDecode = …;
const bool kEncode = …;
const VideoCodecProfile kProfileA = …;
const VideoCodecProfile kProfileB = …;
const VideoCodecProfile kProfileC = …;
const VideoCodecProfile kProfileUnknown = …;
const int kPixelSizeA = …;
const int kPixelSizeB = …;
const bool kHw = …;
const bool kSw = …;
MATCHER_P(MojoEq, value, "") { … }
}
Features;
VideoStats;
class WebrtcVideoPerfRecorderTest : public ::testing::Test { … };
TEST_F(WebrtcVideoPerfRecorderTest, SaveOnNewConfig) { … }
TEST_F(WebrtcVideoPerfRecorderTest, SaveOnDestruction) { … }
}