Commit 3a9a788b authored by Julie Jeongeun Kim's avatar Julie Jeongeun Kim Committed by Commit Bot

Clean up old mojo types for VideoDecodeStatsRecorder from comments

This CL cleans up old mojo types for VideoDecodeStatsRecorder from
comments.

Bug: 955171
Change-Id: I3f7bc76f87872773fc7840a78a04d086687789ce
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1883154
Commit-Queue: Julie Kim <jkim@igalia.com>
Reviewed-by: default avatarSam McNally <sammc@chromium.org>
Reviewed-by: default avatarXiaohan Wang <xhwang@chromium.org>
Reviewed-by: default avatarOksana Zhuravlova <oksamyt@chromium.org>
Cr-Commit-Position: refs/heads/master@{#710660}
parent 86ec1f48
......@@ -146,7 +146,7 @@ class MEDIA_BLINK_EXPORT VideoDecodeStatsReporter {
const base::TimeDelta kRecordingInterval;
const base::TimeDelta kTinyFpsWindowDuration;
// Pointer to the remote recorder. The recorder runs in the browser process
// mojo::Remote for the recorder. The recorder runs in the browser process
// and finalizes the record in the event of fast render process tear down.
mojo::Remote<mojom::VideoDecodeStatsRecorder> recorder_remote_;
......
......@@ -171,7 +171,7 @@ class VideoDecodeStatsReporterTest : public ::testing::Test {
mojo::PendingRemote<mojom::VideoDecodeStatsRecorder> SetupRecordInterceptor(
RecordInterceptor** interceptor) {
// Capture a the interceptor pointer for verifying recorder calls. Lifetime
// will be managed by the |recorder_ptr|.
// will be managed by the |recorder_remote|.
*interceptor = new RecordInterceptor();
mojo::PendingRemote<mojom::VideoDecodeStatsRecorder> recorder_remote;
mojo::MakeSelfOwnedReceiver(
......@@ -368,8 +368,8 @@ class VideoDecodeStatsReporterTest : public ::testing::Test {
scoped_refptr<base::SingleThreadTaskRunner> original_task_runner_;
// Points to the interceptor that acts as a VideoDecodeStatsRecorder. The
// object is owned by VideoDecodeStatsRecorderPtr, which is itself owned by
// |reporter_|.
// object is owned by mojo::Remote<VideoDecodeStatsRecorder>, which is itself
// owned by |reporter_|.
RecordInterceptor* interceptor_ = nullptr;
// The VideoDecodeStatsReporter being tested.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment