Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(933)

Unified Diff: media/cast/sender/video_encoder_unittest.cc

Issue 1143363005: Revert of [Cast] Compute utilization metrics and add performance overlay. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/cast/sender/video_encoder_impl.cc ('k') | media/cast/sender/video_sender.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/sender/video_encoder_unittest.cc
diff --git a/media/cast/sender/video_encoder_unittest.cc b/media/cast/sender/video_encoder_unittest.cc
index a24de5ed11ba45e0478b78875341f9e6bbd39aef..9b4f697fc25a0c9c5728f58f2777f49ea231290c 100644
--- a/media/cast/sender/video_encoder_unittest.cc
+++ b/media/cast/sender/video_encoder_unittest.cc
@@ -219,7 +219,7 @@
uint32 expected_last_referenced_frame_id,
uint32 expected_rtp_timestamp,
const base::TimeTicks& expected_reference_time,
- scoped_ptr<SenderEncodedFrame> encoded_frame) {
+ scoped_ptr<EncodedFrame> encoded_frame) {
EXPECT_TRUE(cast_environment_->CurrentlyOn(CastEnvironment::MAIN));
EXPECT_EQ(expected_frame_id, encoded_frame->frame_id);
@@ -253,10 +253,6 @@
EXPECT_EQ(expected_last_referenced_frame_id,
encoded_frame->referenced_frame_id);
EXPECT_FALSE(encoded_frame->data.empty());
- ASSERT_TRUE(std::isfinite(encoded_frame->deadline_utilization));
- EXPECT_LE(0.0, encoded_frame->deadline_utilization);
- ASSERT_TRUE(std::isfinite(encoded_frame->lossy_utilization));
- EXPECT_LE(0.0, encoded_frame->lossy_utilization);
}
++count_frames_delivered_;
« no previous file with comments | « media/cast/sender/video_encoder_impl.cc ('k') | media/cast/sender/video_sender.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698