Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: src/shared/Communication.h

Issue 10774005: Avoid duplication between AdblockPlus and AdblockPlusEngine (Closed)
Patch Set: Created May 24, 2013, 3:48 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 #ifndef COMMUNICATION_H
2 #define COMMUNICATION_H
3
4 #include <string>
5 #include <vector>
6 #include <Windows.h>
7
8 namespace Communication
9 {
10 extern const std::wstring pipeName;
11 const int bufferSize = 1024;
12
13 std::string MarshalStrings(const std::vector<std::string>& strings);
14 std::vector<std::string> UnmarshalStrings(const std::string& message);
15 std::string ReadMessage(HANDLE pipe);
16 void WriteMessage(HANDLE pipe, const std::string& message);
17 }
18
19 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld