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

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

Issue 11612008: Bunch of tiny fixes (Closed)
Patch Set: Created Sept. 5, 2013, 10:38 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
« src/plugin/PluginTabBase.cpp ('K') | « src/plugin/PluginTabBase.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #ifndef COMMUNICATION_H 1 #ifndef COMMUNICATION_H
2 #define COMMUNICATION_H 2 #define COMMUNICATION_H
3 3
4 #include <memory> 4 #include <memory>
5 #include <sstream> 5 #include <sstream>
6 #include <stdexcept> 6 #include <stdexcept>
7 #include <stdint.h> 7 #include <stdint.h>
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 #include <Windows.h> 10 #include <Windows.h>
(...skipping 10 matching lines...) Expand all
21 PROC_SET_SUBSCRIPTION, 21 PROC_SET_SUBSCRIPTION,
22 PROC_UPDATE_ALL_SUBSCRIPTIONS, 22 PROC_UPDATE_ALL_SUBSCRIPTIONS,
23 PROC_GET_EXCEPTION_DOMAINS, 23 PROC_GET_EXCEPTION_DOMAINS,
24 PROC_IS_WHITELISTED_URL, 24 PROC_IS_WHITELISTED_URL,
25 PROC_ADD_FILTER, 25 PROC_ADD_FILTER,
26 PROC_REMOVE_FILTER, 26 PROC_REMOVE_FILTER,
27 PROC_SET_PREF, 27 PROC_SET_PREF,
28 PROC_GET_PREF, 28 PROC_GET_PREF,
29 PROC_IS_FIRST_RUN_ACTION_NEEDED, 29 PROC_IS_FIRST_RUN_ACTION_NEEDED,
30 PROC_CHECK_FOR_UPDATES, 30 PROC_CHECK_FOR_UPDATES,
31 PROC_GET_APP_LOCALE,
32 PROC_GET_DOCUMENTATION_LINK, 31 PROC_GET_DOCUMENTATION_LINK,
33 PROC_TOGGLE_PLUGIN_ENABLED 32 PROC_TOGGLE_PLUGIN_ENABLED
34 }; 33 };
35 enum ValueType : uint32_t { 34 enum ValueType : uint32_t {
36 TYPE_PROC, TYPE_STRING, TYPE_WSTRING, TYPE_INT64, TYPE_INT32, TYPE_BOOL 35 TYPE_PROC, TYPE_STRING, TYPE_WSTRING, TYPE_INT64, TYPE_INT32, TYPE_BOOL
37 }; 36 };
38 typedef uint32_t SizeType; 37 typedef uint32_t SizeType;
39 38
40 class InputBuffer 39 class InputBuffer
41 { 40 {
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 187
189 InputBuffer ReadMessage(); 188 InputBuffer ReadMessage();
190 void WriteMessage(OutputBuffer& message); 189 void WriteMessage(OutputBuffer& message);
191 190
192 protected: 191 protected:
193 HANDLE pipe; 192 HANDLE pipe;
194 }; 193 };
195 } 194 }
196 195
197 #endif 196 #endif
OLDNEW
« src/plugin/PluginTabBase.cpp ('K') | « src/plugin/PluginTabBase.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld