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

Delta Between Two Patch Sets: src/shared/Communication.h

Issue 11369200: Disable everywhere fix (Closed)
Left Patch Set: Created Aug. 13, 2013, 2:18 p.m.
Right Patch Set: TogglePluginEnabled transfered to engine Created Aug. 20, 2013, 7:34 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Right: Side by side diff | Download
« no previous file with change/comment | « src/plugin/PluginSettings.cpp ('k') | no next file » | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(no file at all)
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 11 matching lines...) Expand all
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, 31 PROC_GET_APP_LOCALE,
32 PROC_GET_DOCUMENTATION_LINK 32 PROC_GET_DOCUMENTATION_LINK,
33 PROC_TOGGLE_PLUGIN_ENABLED
33 }; 34 };
34 enum ValueType : uint32_t { 35 enum ValueType : uint32_t {
35 TYPE_PROC, TYPE_STRING, TYPE_WSTRING, TYPE_INT64, TYPE_INT32, TYPE_BOOL 36 TYPE_PROC, TYPE_STRING, TYPE_WSTRING, TYPE_INT64, TYPE_INT32, TYPE_BOOL
36 }; 37 };
37 typedef uint32_t SizeType; 38 typedef uint32_t SizeType;
38 39
39 class InputBuffer 40 class InputBuffer
40 { 41 {
41 public: 42 public:
42 InputBuffer() : buffer(), hasType(false) {} 43 InputBuffer() : buffer(), hasType(false) {}
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 188
188 InputBuffer ReadMessage(); 189 InputBuffer ReadMessage();
189 void WriteMessage(OutputBuffer& message); 190 void WriteMessage(OutputBuffer& message);
190 191
191 protected: 192 protected:
192 HANDLE pipe; 193 HANDLE pipe;
193 }; 194 };
194 } 195 }
195 196
196 #endif 197 #endif
LEFTRIGHT

Powered by Google App Engine
This is Rietveld