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

Unified Diff: media/cast/video_receiver/video_decoder_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_receiver/video_decoder.h ('k') | media/cast/video_receiver/video_receiver.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/video_receiver/video_decoder_unittest.cc
diff --git a/media/cast/video_receiver/video_decoder_unittest.cc b/media/cast/video_receiver/video_decoder_unittest.cc
index c5116816055cfdecb7bb9eb898b0c1e8718e25a0..e61c5c9eb8a8ae987a9565d1a91201bce217bfc6 100644
--- a/media/cast/video_receiver/video_decoder_unittest.cc
+++ b/media/cast/video_receiver/video_decoder_unittest.cc
@@ -36,7 +36,13 @@ class TestVideoDecoderCallback :
}
int number_times_called() {return num_called_;}
+
+ protected:
+ virtual ~TestVideoDecoderCallback() {}
+
private:
+ friend class base::RefCountedThreadSafe<TestVideoDecoderCallback>;
+
int num_called_;
};
@@ -49,7 +55,7 @@ class VideoDecoderTest : public ::testing::Test {
video_decoder_callback_ = new TestVideoDecoderCallback();
}
- ~VideoDecoderTest() {}
+ virtual ~VideoDecoderTest() {}
virtual void SetUp() {
task_runner_ = new test::FakeTaskRunner(&testing_clock_);
cast_thread_ = new CastThread(task_runner_, NULL, NULL,
« no previous file with comments | « media/cast/video_receiver/video_decoder.h ('k') | media/cast/video_receiver/video_receiver.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698