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

Unified Diff: blimp/net/common.h

Issue 1551583003: Implementation and fixes for Blimp client/engine E2E communication. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@dtrainor-linux-cl1528243002
Patch Set: Fixed misplaced EXPORT directive Created 4 years, 12 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 | « blimp/net/client_connection_manager_unittest.cc ('k') | blimp/net/common.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/net/common.h
diff --git a/blimp/net/common.h b/blimp/net/common.h
index 971644e1dfcb173ad91a3dc6999bef076320ce3a..29231042557a634d77d6607d03450a25f7e8ea19 100644
--- a/blimp/net/common.h
+++ b/blimp/net/common.h
@@ -10,6 +10,7 @@
#include <string>
#include "blimp/net/blimp_net_export.h"
+#include "net/base/ip_address_number.h"
namespace blimp {
@@ -20,6 +21,10 @@ class BlimpMessage;
extern const size_t BLIMP_NET_EXPORT kMaxPacketPayloadSizeBytes;
extern const size_t BLIMP_NET_EXPORT kPacketHeaderSizeBytes;
+// Serializes human-readable BlimpMessage header info, for logging purposes.
+BLIMP_NET_EXPORT std::ostream& operator<<(std::ostream& out,
+ const BlimpMessage& message);
+
} // namespace blimp
#endif // BLIMP_NET_COMMON_H_
« no previous file with comments | « blimp/net/client_connection_manager_unittest.cc ('k') | blimp/net/common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698