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

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

Issue 6025347820683264: Issue 1106 - Enable Acceptable Ads by default for new installs and updates from versions < 1.2 (Closed)
Patch Set: Discriminate first run page title for install/update Created Aug. 1, 2014, 3:08 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
« no previous file with comments | « src/plugin/PluginUserSettings.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 15 matching lines...) Expand all
26 PROC_GET_EXCEPTION_DOMAINS, 26 PROC_GET_EXCEPTION_DOMAINS,
27 PROC_IS_WHITELISTED_URL, 27 PROC_IS_WHITELISTED_URL,
28 PROC_ADD_FILTER, 28 PROC_ADD_FILTER,
29 PROC_REMOVE_FILTER, 29 PROC_REMOVE_FILTER,
30 PROC_SET_PREF, 30 PROC_SET_PREF,
31 PROC_GET_PREF, 31 PROC_GET_PREF,
32 PROC_IS_FIRST_RUN_ACTION_NEEDED, 32 PROC_IS_FIRST_RUN_ACTION_NEEDED,
33 PROC_CHECK_FOR_UPDATES, 33 PROC_CHECK_FOR_UPDATES,
34 PROC_GET_DOCUMENTATION_LINK, 34 PROC_GET_DOCUMENTATION_LINK,
35 PROC_TOGGLE_PLUGIN_ENABLED, 35 PROC_TOGGLE_PLUGIN_ENABLED,
36 PROC_GET_HOST 36 PROC_GET_HOST,
37 PROC_COMPARE_VERSIONS
37 }; 38 };
38 enum ValueType : uint32_t { 39 enum ValueType : uint32_t {
39 TYPE_PROC, TYPE_STRING, TYPE_WSTRING, TYPE_INT64, TYPE_INT32, TYPE_BOOL 40 TYPE_PROC, TYPE_STRING, TYPE_WSTRING, TYPE_INT64, TYPE_INT32, TYPE_BOOL
40 }; 41 };
41 typedef uint32_t SizeType; 42 typedef uint32_t SizeType;
42 43
43 class InputBuffer 44 class InputBuffer
44 { 45 {
45 public: 46 public:
46 InputBuffer() : buffer(), hasType(false) {} 47 InputBuffer() : buffer(), hasType(false) {}
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 192
192 InputBuffer ReadMessage(); 193 InputBuffer ReadMessage();
193 void WriteMessage(OutputBuffer& message); 194 void WriteMessage(OutputBuffer& message);
194 195
195 protected: 196 protected:
196 HANDLE pipe; 197 HANDLE pipe;
197 }; 198 };
198 } 199 }
199 200
200 #endif 201 #endif
OLDNEW
« no previous file with comments | « src/plugin/PluginUserSettings.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld