| Index: remoting/protocol/rtp_video_reader_unittest.cc
|
| diff --git a/remoting/protocol/rtp_video_reader_unittest.cc b/remoting/protocol/rtp_video_reader_unittest.cc
|
| index 2475d6adba52c238171a904414d1228626ac593d..3c6d5ef7a51cf19668adafb31dcb0a5eed9c1748 100644
|
| --- a/remoting/protocol/rtp_video_reader_unittest.cc
|
| +++ b/remoting/protocol/rtp_video_reader_unittest.cc
|
| @@ -4,6 +4,7 @@
|
|
|
| #include <vector>
|
|
|
| +#include "base/bind.h"
|
| #include "base/message_loop.h"
|
| #include "base/string_number_conversions.h"
|
| #include "net/base/io_buffer.h"
|
| @@ -65,10 +66,16 @@ class RtpVideoReaderTest : public testing::Test,
|
| void Reset() {
|
| session_.reset(new FakeSession());
|
| reader_.reset(new RtpVideoReader());
|
| - reader_->Init(session_.get(), this);
|
| + reader_->Init(session_.get(), this,
|
| + base::Bind(&RtpVideoReaderTest::OnReaderInitialized,
|
| + base::Unretained(this)));
|
| received_packets_.clear();
|
| }
|
|
|
| + void OnReaderInitialized(bool success) {
|
| + ASSERT_TRUE(success);
|
| + }
|
| +
|
| void InitData(int size) {
|
| data_.resize(size);
|
| for (int i = 0; i < size; ++i) {
|
|
|