| Index: remoting/protocol/messages_decoder.h
|
| diff --git a/remoting/protocol/messages_decoder.h b/remoting/protocol/messages_decoder.h
|
| index 66014f676f73e58b802015ffe6a7ecad36070193..444e9e7ece9b82a7d02031d7af45b46230ec9cc9 100644
|
| --- a/remoting/protocol/messages_decoder.h
|
| +++ b/remoting/protocol/messages_decoder.h
|
| @@ -10,9 +10,12 @@
|
|
|
| #include "base/ref_counted.h"
|
| #include "google/protobuf/message_lite.h"
|
| -#include "net/base/io_buffer.h"
|
| #include "remoting/base/protocol/chromotocol.pb.h"
|
|
|
| +namespace net {
|
| +class IOBuffer;
|
| +}
|
| +
|
| namespace remoting {
|
|
|
| typedef std::list<ChromotingHostMessage*> HostMessageList;
|
| @@ -42,10 +45,8 @@ class MessagesDecoder {
|
| // DataChunk stores reference to a net::IOBuffer and size of the data
|
| // stored in that buffer.
|
| struct DataChunk {
|
| - DataChunk(net::IOBuffer* data, size_t data_size)
|
| - : data(data),
|
| - data_size(data_size) {
|
| - }
|
| + DataChunk(net::IOBuffer* data, size_t data_size);
|
| + ~DataChunk();
|
|
|
| scoped_refptr<net::IOBuffer> data;
|
| size_t data_size;
|
|
|