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

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

Issue 4784041706389504: Issue 1183 - Fix Acceptable Ads hiding (Closed)
Patch Set: Created Aug. 8, 2014, 3:51 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>
11 11
12 namespace Communication 12 namespace Communication
13 { 13 {
14 extern const std::wstring pipeName; 14 extern const std::wstring pipeName;
15 extern std::wstring browserSID; 15 extern std::wstring browserSID;
16 16
17 enum ProcType : uint32_t { 17 enum ProcType : uint32_t {
18 PROC_MATCHES, 18 PROC_MATCHES,
19 PROC_HIDING_ENABLED_ON_DOMAIN,
19 PROC_GET_ELEMHIDE_SELECTORS, 20 PROC_GET_ELEMHIDE_SELECTORS,
20 PROC_AVAILABLE_SUBSCRIPTIONS, 21 PROC_AVAILABLE_SUBSCRIPTIONS,
21 PROC_LISTED_SUBSCRIPTIONS, 22 PROC_LISTED_SUBSCRIPTIONS,
22 PROC_SET_SUBSCRIPTION, 23 PROC_SET_SUBSCRIPTION,
23 PROC_ADD_SUBSCRIPTION, 24 PROC_ADD_SUBSCRIPTION,
24 PROC_REMOVE_SUBSCRIPTION, 25 PROC_REMOVE_SUBSCRIPTION,
25 PROC_UPDATE_ALL_SUBSCRIPTIONS, 26 PROC_UPDATE_ALL_SUBSCRIPTIONS,
26 PROC_GET_EXCEPTION_DOMAINS, 27 PROC_GET_EXCEPTION_DOMAINS,
27 PROC_IS_WHITELISTED_URL, 28 PROC_IS_WHITELISTED_URL,
28 PROC_ADD_FILTER, 29 PROC_ADD_FILTER,
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 193
193 InputBuffer ReadMessage(); 194 InputBuffer ReadMessage();
194 void WriteMessage(OutputBuffer& message); 195 void WriteMessage(OutputBuffer& message);
195 196
196 protected: 197 protected:
197 HANDLE pipe; 198 HANDLE pipe;
198 }; 199 };
199 } 200 }
200 201
201 #endif 202 #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