diff options
author | sergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-19 23:44:45 +0000 |
---|---|---|
committer | sergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-19 23:44:45 +0000 |
commit | c56acf54ff891a942b62effd95fd7a1984533cab (patch) | |
tree | e631a3d707fdd74acc670a54bfc3dac7631524e1 /remoting/protocol/rtp_video_reader_unittest.cc | |
parent | b1308bd418eefc8b1f3410724229c1016a47f01d (diff) | |
download | chromium_src-c56acf54ff891a942b62effd95fd7a1984533cab.zip chromium_src-c56acf54ff891a942b62effd95fd7a1984533cab.tar.gz chromium_src-c56acf54ff891a942b62effd95fd7a1984533cab.tar.bz2 |
Use VideoStub interface on the host side.
BUG=None
TEST=None
Review URL: http://codereview.chromium.org/5232004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66841 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/protocol/rtp_video_reader_unittest.cc')
-rw-r--r-- | remoting/protocol/rtp_video_reader_unittest.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/remoting/protocol/rtp_video_reader_unittest.cc b/remoting/protocol/rtp_video_reader_unittest.cc index 81a8e17..60dba69c 100644 --- a/remoting/protocol/rtp_video_reader_unittest.cc +++ b/remoting/protocol/rtp_video_reader_unittest.cc @@ -22,6 +22,7 @@ namespace protocol { class RtpVideoReaderTest : public testing::Test, public VideoStub { public: + // VideoStub interface. virtual void ProcessVideoPacket(const VideoPacket* video_packet, Task* done) { received_packets_.push_back(VideoPacket()); @@ -30,6 +31,10 @@ class RtpVideoReaderTest : public testing::Test, delete done; } + virtual int GetPendingPackets() { + return 0; + } + protected: struct FragmentInfo { int sequence_number; |