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

Unified Diff: media/cast/video_receiver/video_receiver_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_receiver.cc ('k') | media/cast/video_sender/codecs/vp8/vp8_encoder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/video_receiver/video_receiver_unittest.cc
diff --git a/media/cast/video_receiver/video_receiver_unittest.cc b/media/cast/video_receiver/video_receiver_unittest.cc
index 00fc9bd9d86feb11da434c778ecafbca15cfe0bf..dc1d6923d6697c8e92defa0bf4c3703ad090bd2c 100644
--- a/media/cast/video_receiver/video_receiver_unittest.cc
+++ b/media/cast/video_receiver/video_receiver_unittest.cc
@@ -33,7 +33,13 @@ class TestVideoReceiverCallback :
++num_called_;
}
int number_times_called() { return num_called_;}
+
+ protected:
+ virtual ~TestVideoReceiverCallback() {}
+
private:
+ friend class base::RefCountedThreadSafe<TestVideoReceiverCallback>;
+
int num_called_;
};
@@ -65,7 +71,7 @@ class VideoReceiverTest : public ::testing::Test {
receiver_->set_clock(&testing_clock_);
}
- ~VideoReceiverTest() {}
+ virtual ~VideoReceiverTest() {}
virtual void SetUp() {
payload_.assign(kPacketSize, 0);
« no previous file with comments | « media/cast/video_receiver/video_receiver.cc ('k') | media/cast/video_sender/codecs/vp8/vp8_encoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698