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

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

Issue 25544003: Fix code style and gyp files in cast to build cast_unittest (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed gyp files Created 7 years, 3 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/video_sender/video_encoder.cc ('k') | media/cast/video_sender/video_sender.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/video_sender/video_encoder_unittest.cc
diff --git a/media/cast/video_sender/video_encoder_unittest.cc b/media/cast/video_sender/video_encoder_unittest.cc
index d18a043b73b13fd39a0bd75989142971f2e6e2c3..509c1de1f6c16403dcbccd585ef590a93199867c 100644
--- a/media/cast/video_sender/video_encoder_unittest.cc
+++ b/media/cast/video_sender/video_encoder_unittest.cc
@@ -46,7 +46,12 @@ class TestVideoEncoderCallback :
EXPECT_EQ(expected_capture_time_, capture_time);
}
+ protected:
+ virtual ~TestVideoEncoderCallback() {}
+
private:
+ friend class base::RefCountedThreadSafe<TestVideoEncoderCallback>;
+
bool expected_key_frame_;
uint8 expected_frame_id_;
uint8 expected_last_referenced_frame_id_;
@@ -85,7 +90,7 @@ class VideoEncoderTest : public ::testing::Test {
video_frame_.v_plane.data = &(pixels_[0]);
}
- ~VideoEncoderTest() {}
+ virtual ~VideoEncoderTest() {}
virtual void SetUp() {
task_runner_ = new test::FakeTaskRunner(&testing_clock_);
« no previous file with comments | « media/cast/video_sender/video_encoder.cc ('k') | media/cast/video_sender/video_sender.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698