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

Unified Diff: remoting/protocol/messages_decoder.h

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/host/json_host_config.cc ('k') | remoting/protocol/messages_decoder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « remoting/host/json_host_config.cc ('k') | remoting/protocol/messages_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698