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

Unified Diff: blimp/net/test_common.cc

Issue 1429193002: Add interfaces for most major Blimp net components. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address wez's feedback. Created 5 years, 1 month 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
« blimp/net/stream_socket_connection.h ('K') | « blimp/net/test_common.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/net/test_common.cc
diff --git a/blimp/net/test_common.cc b/blimp/net/test_common.cc
index 989d028ba6a7449c2c249f7482ee44ad1e9046ba..b9cad9d556c43018326b7a5109af383e8b1bd1e7 100644
--- a/blimp/net/test_common.cc
+++ b/blimp/net/test_common.cc
@@ -7,6 +7,7 @@
#include <string>
#include "base/sys_byteorder.h"
+#include "blimp/common/proto/blimp_message.pb.h"
#include "blimp/net/common.h"
#include "net/base/io_buffer.h"
@@ -16,6 +17,10 @@ MockStreamSocket::MockStreamSocket() {}
MockStreamSocket::~MockStreamSocket() {}
+MockBlimpMessageProcessor::MockBlimpMessageProcessor() {}
+
+MockBlimpMessageProcessor::~MockBlimpMessageProcessor() {}
+
std::string EncodeHeader(size_t size) {
scoped_ptr<char[]> serialized(new char[kPacketHeaderSizeBytes]);
uint32 net_size = base::HostToNet32(size);
« blimp/net/stream_socket_connection.h ('K') | « blimp/net/test_common.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698