| Index: remoting/protocol/message_reader_unittest.cc
|
| diff --git a/remoting/protocol/message_reader_unittest.cc b/remoting/protocol/message_reader_unittest.cc
|
| index 1ea24124d69a66e66ea13fe7a9264c7129f18185..6e8f5c6809820b328fa8bfa1cc3efccb8411f442 100644
|
| --- a/remoting/protocol/message_reader_unittest.cc
|
| +++ b/remoting/protocol/message_reader_unittest.cc
|
| @@ -13,7 +13,7 @@
|
| #include "base/synchronization/waitable_event.h"
|
| #include "net/base/net_errors.h"
|
| #include "net/socket/socket.h"
|
| -#include "remoting/protocol/fake_session.h"
|
| +#include "remoting/protocol/fake_stream_socket.h"
|
| #include "remoting/protocol/message_reader.h"
|
| #include "testing/gmock/include/gmock/gmock.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
| @@ -84,7 +84,7 @@ class MessageReaderTest : public testing::Test {
|
| std::string data = std::string(4, ' ') + message;
|
| rtc::SetBE32(const_cast<char*>(data.data()), message.size());
|
|
|
| - socket_.AppendInputData(std::vector<char>(data.begin(), data.end()));
|
| + socket_.AppendInputData(data);
|
| }
|
|
|
| bool CompareResult(CompoundBuffer* buffer, const std::string& expected) {
|
| @@ -101,7 +101,7 @@ class MessageReaderTest : public testing::Test {
|
|
|
| base::MessageLoop message_loop_;
|
| scoped_ptr<MessageReader> reader_;
|
| - FakeSocket socket_;
|
| + FakeStreamSocket socket_;
|
| MockMessageReceivedCallback callback_;
|
| std::vector<CompoundBuffer*> messages_;
|
| bool in_callback_;
|
|
|