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

Unified Diff: remoting/protocol/messages_decoder.cc

Issue 3814013: FBTF: Monster ctor patch after changing heuristics in clang plugin. (Closed) Base URL: http://git.chromium.org/git/chromium.git
Patch Set: More add file fail Created 10 years, 2 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 | « remoting/protocol/messages_decoder.h ('k') | remoting/protocol/stream_reader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/messages_decoder.cc
diff --git a/remoting/protocol/messages_decoder.cc b/remoting/protocol/messages_decoder.cc
index f7c743936e0f30dc168ecea197f5bd708946f498..73e9ea4dd7d2b9ec72418bae983432f124d4d779 100644
--- a/remoting/protocol/messages_decoder.cc
+++ b/remoting/protocol/messages_decoder.cc
@@ -5,6 +5,7 @@
#include "remoting/protocol/messages_decoder.h"
#include "base/logging.h"
+#include "net/base/io_buffer.h"
#include "remoting/base/multiple_array_input_stream.h"
#include "talk/base/byteorder.h"
@@ -31,6 +32,13 @@ void MessagesDecoder::ParseHostMessages(scoped_refptr<net::IOBuffer> data,
ParseMessages<ChromotingHostMessage>(data, data_size, messages);
}
+MessagesDecoder::DataChunk::DataChunk(net::IOBuffer* data, size_t data_size)
+ : data(data),
+ data_size(data_size) {
+}
+
+MessagesDecoder::DataChunk::~DataChunk() {}
+
template <typename T>
void MessagesDecoder::ParseMessages(scoped_refptr<net::IOBuffer> data,
int data_size,
« no previous file with comments | « remoting/protocol/messages_decoder.h ('k') | remoting/protocol/stream_reader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698