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

Unified Diff: build_tools/debug_server/debug_server/common/rsp_packet_utils.h

Issue 6312039: RSP proxy that can record session (for playback testing).... (Closed) Base URL: http://nativeclient-sdk.googlecode.com/svn/trunk/src/
Patch Set: Created 9 years, 11 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
Index: build_tools/debug_server/debug_server/common/rsp_packet_utils.h
===================================================================
--- build_tools/debug_server/debug_server/common/rsp_packet_utils.h (revision 0)
+++ build_tools/debug_server/debug_server/common/rsp_packet_utils.h (revision 0)
@@ -0,0 +1,19 @@
+#ifndef NACL_SDK_BUILD_TOOLS_DEBUG_SERVER_COMMON_RSP_PACKET_UTILS_H_
+#define NACL_SDK_BUILD_TOOLS_DEBUG_SERVER_COMMON_RSP_PACKET_UTILS_H_
+
+#pragma once
+#include <string>
+#include <vector>
+#include <deque>
+#include <map>
+#include "debug_blob.h"
+
+namespace rsp {
+class PacketUtils {
+ public:
+ static void AddEnvelope(const debug::Blob& blob_in, debug::Blob* blob_out);
+ static bool RemoveEnvelope(const debug::Blob& blob_in, debug::Blob* blob_out);
+};
+} //namespace rsp
+
+#endif // NACL_SDK_BUILD_TOOLS_DEBUG_SERVER_COMMON_RSP_PACKET_UTILS_H_

Powered by Google App Engine
This is Rietveld 408576698